fix: disable scrubbing mode on drag ended (#22186)

pull/22188/head
Alex 2025-09-18 16:42:33 +07:00 committed by GitHub
parent e42886b767
commit b8a17c3c26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

@ -322,6 +322,8 @@ class ScrubberState extends ConsumerState<Scrubber> with TickerProviderStateMixi
_isDragging = false;
});
ref.read(timelineStateProvider.notifier).setScrubbing(false);
// Reset scrubber tracking when drag ends
_currentScrubberDate = null;
_scrubberDebouncer?.dispose();