Skip to content

Commit 237196a

Browse files
committed
static method to enable manual global update
1 parent c7766db commit 237196a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/src/tweener.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,13 @@ class Tweener {
3030
}
3131
}
3232

33+
static bool _enableManualUpdate = false;
34+
static void enableManualUpdate() {
35+
_enableManualUpdate = true;
36+
}
37+
3338
static void setup() {
39+
if (_enableManualUpdate) return;
3440
Miticker.init(Tweener._tickerHandler);
3541
Miticker.start();
3642
}

0 commit comments

Comments
 (0)