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

This commit is contained in:
Alex 2025-09-18 16:42:33 -05:00 committed by GitHub
parent e42886b767
commit b8a17c3c26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();