We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2e8ede commit f2db5d9Copy full SHA for f2db5d9
webf/lib/src/launcher/controller.dart
@@ -1333,6 +1333,7 @@ class WebFController {
1333
1334
// Pause all timers and callbacks if kraken page are invisible.
1335
void pause() {
1336
+ if (_paused) return;
1337
_paused = true;
1338
module.pauseTimer();
1339
module.pauseAnimationFrame();
@@ -1341,6 +1342,7 @@ class WebFController {
1341
1342
1343
// Resume all timers and callbacks if kraken page now visible.
1344
void resume() {
1345
+ if (!_paused) return;
1346
_paused = false;
1347
flushPendingCallbacks();
1348
module.resumeTimer();
0 commit comments