Remove unneccessary frame version incrementation

This commit is contained in:
Dávid Szabó 2016-09-23 13:45:54 +02:00 committed by Julian Descottes
parent 74f36daa7c
commit d775609183
2 changed files with 2 additions and 3 deletions

View File

@ -62,6 +62,5 @@
frame.setPixel(col, row, newColor); frame.setPixel(col, row, newColor);
} }
}); });
frame.version++;
}; };
})(); })();

View File

@ -60,7 +60,7 @@
frame.setPixel(_x, _y, Constants.TRANSPARENT_COLOR); frame.setPixel(_x, _y, Constants.TRANSPARENT_COLOR);
} }
}); });
frame.version++;
return frame; return frame;
}, },
@ -104,7 +104,7 @@
frame.setPixel(_x, _y, Constants.TRANSPARENT_COLOR); frame.setPixel(_x, _y, Constants.TRANSPARENT_COLOR);
} }
}); });
frame.version++;
return frame; return frame;
} }
}; };