fix: scrubber scroll error when page is not long enough

This commit is contained in:
Alex 2025-07-07 23:16:40 -05:00
parent d5eff115e8
commit 65de064ed5
No known key found for this signature in database
GPG Key ID: 53CD082B3A5E1082

View File

@ -354,6 +354,8 @@ class ScrubberState extends ConsumerState<Scrubber>
isDragging: _isDragging,
),
),
if (_scrollController.hasClients &&
_scrollController.position.maxScrollExtent > 0)
PositionedDirectional(
top: _thumbTopOffset + widget.topPadding,
end: 0,