From 0a8ead05ab2717ec1cf51d5a95491b08b78548b7 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Sun, 10 Jul 2022 18:47:34 +0800 Subject: [PATCH] small change --- libs/control.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/control.js b/libs/control.js index 0bbed9c3..cd07d099 100644 --- a/libs/control.js +++ b/libs/control.js @@ -3048,7 +3048,7 @@ control.prototype.updateStatusBar = function (doNotCheckAutoEvents, immediate) { return this.updateStatusBar_update(); } if (!doNotCheckAutoEvents) this.noAutoEvents = false; - if (core.isReplaying()) this.updateStatusBar_update(); + if (core.isReplaying()) return this.updateStatusBar_update(); requestAnimationFrame(this.updateStatusBar_update) }