This commit is contained in:
kakkokari-gtyih 2025-07-03 11:00:56 +09:00
parent 504f7a403c
commit acdccd0310
2 changed files with 2 additions and 2 deletions

View File

@ -239,7 +239,7 @@ watch(visibility, () => {
}, BACKGROUND_PAUSE_WAIT_SEC * 1000);
} else { // 'visible'
if (timerForSetPause) {
clearTimeout(timerForSetPause);
window.clearTimeout(timerForSetPause);
timerForSetPause = null;
} else {
isPausingUpdate = false;

View File

@ -137,7 +137,7 @@ watch(visibility, () => {
}, BACKGROUND_PAUSE_WAIT_SEC * 1000);
} else { // 'visible'
if (timerForSetPause) {
clearTimeout(timerForSetPause);
window.clearTimeout(timerForSetPause);
timerForSetPause = null;
} else {
isPausingUpdate = false;