mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-16 14:14:01 +08:00
image anim patch
Closes #2107 Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
13
lib/scripts/image_anim.patch
Normal file
13
lib/scripts/image_anim.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/packages/flutter/lib/src/widgets/image.dart b/packages/flutter/lib/src/widgets/image.dart
|
||||
index 30429ea5e02..b58f4343440 100644
|
||||
--- a/packages/flutter/lib/src/widgets/image.dart
|
||||
+++ b/packages/flutter/lib/src/widgets/image.dart
|
||||
@@ -1148,7 +1148,7 @@ class _ImageState extends State<Image> with WidgetsBindingObserver {
|
||||
_updateInvertColors();
|
||||
_resolveImage();
|
||||
|
||||
- _isPaused = !TickerMode.of(context) || (MediaQuery.maybeDisableAnimationsOf(context) ?? false);
|
||||
+ _isPaused = !TickerMode.of(context);
|
||||
|
||||
if (_isPaused && _frameNumber != null) {
|
||||
_stopListeningToStream(keepStreamAlive: true);
|
||||
Reference in New Issue
Block a user