shorter batchDraw func

This commit is contained in:
Anton Lavrenov 2016-04-07 11:02:18 +07:00
parent 683bd8935a
commit 87ded69dc0

View File

@ -280,9 +280,8 @@
if (!this.batchAnim) {
this.batchAnim = new Anim(function() {
if (that.lastBatchDrawTime && now() - that.lastBatchDrawTime > BATCH_DRAW_STOP_TIME_DIFF) {
that.batchAnim.stop();
}
// stop animation after first tick
that.batchAnim.stop();
}, this);
}