mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix: do not handle drag without enough scrub area (#28921)
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
1fee99cd2a
commit
e222b19576
1 changed files with 4 additions and 0 deletions
|
|
@ -221,6 +221,10 @@ class ScrubberState extends ConsumerState<Scrubber> with TickerProviderStateMixi
|
|||
return;
|
||||
}
|
||||
|
||||
if (_scrubberHeight <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (_thumbAnimationController.status != AnimationStatus.forward) {
|
||||
_thumbAnimationController.forward();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue