We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bfca74 commit ed603e4Copy full SHA for ed603e4
src/easeljs/display/Stage.js
@@ -218,7 +218,11 @@ var p = Stage.prototype = new Container();
218
if (!this.canvas) { return; }
219
if (this.autoClear) { this.clear(); }
220
Stage._snapToPixelEnabled = this.snapToPixelEnabled;
221
- if (this.tickOnUpdate) { this._tick(true); }
+ if (this.tickOnUpdate) {
222
+ if (this.tick == this.update) { var t=1; this.tick = null; }
223
+ this._tick(true);
224
+ if (t) { this.tick = this.update; }
225
+ }
226
this.draw(this.canvas.getContext("2d"), false, this.getConcatenatedMatrix(this._matrix));
227
}
228
0 commit comments