small change

This commit is contained in:
unanmed 2022-07-10 18:47:34 +08:00
parent 9f78c0c2f1
commit 0a8ead05ab

View File

@ -3048,7 +3048,7 @@ control.prototype.updateStatusBar = function (doNotCheckAutoEvents, immediate) {
return this.updateStatusBar_update(); return this.updateStatusBar_update();
} }
if (!doNotCheckAutoEvents) this.noAutoEvents = false; if (!doNotCheckAutoEvents) this.noAutoEvents = false;
if (core.isReplaying()) this.updateStatusBar_update(); if (core.isReplaying()) return this.updateStatusBar_update();
requestAnimationFrame(this.updateStatusBar_update) requestAnimationFrame(this.updateStatusBar_update)
} }