Skip to content

Commit 53223af

Browse files
committed
Merge branch 'v2.x'
2 parents a01e8b0 + 9a35e51 commit 53223af

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

libs/control.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3053,12 +3053,10 @@ control.prototype.updateStatusBar = function (doNotCheckAutoEvents) {
30533053
control.prototype.updateStatusBar_update = function () {
30543054
if (!core.control.needUpdate) return;
30553055
if (!core.isPlaying() || core.hasFlag('__statistics__')) return;
3056-
setTimeout(function () {
3057-
core.control.controldata.updateStatusBar();
3058-
if (!core.control.noAutoEvents) core.checkAutoEvents();
3059-
core.control._updateStatusBar_setToolboxIcon();
3060-
core.clearRouteFolding();
3061-
})
3056+
core.control.controldata.updateStatusBar();
3057+
if (!core.control.noAutoEvents) core.checkAutoEvents();
3058+
core.control._updateStatusBar_setToolboxIcon();
3059+
core.clearRouteFolding();
30623060
core.control.needUpdate = false;
30633061
core.control.noAutoEvents = true;
30643062
}

0 commit comments

Comments
 (0)