fix(recommend): 修正标题与观看全集跳转
This commit is contained in:
1 parent
23799353b5
commit
357492acb2
6 files changed
+82
-52
No files matched your search
@@ -171,11 +171,12 @@ class _SeekProgressBarState extends State<SeekProgressBar> {
|
||||
}
|
||||
|
||||
Future<void> _finish(double fraction, Duration duration) async {
|
||||
if (widget.locked || !_dragging) return;
|
||||
final startedAt = _dragStartFraction;
|
||||
_dragStartFraction = null;
|
||||
if (widget.locked || !_dragging || startedAt == null) return;
|
||||
setState(() => _dragging = false);
|
||||
_pointerMoved = false;
|
||||
_pointerStart = null;
|
||||
_dragStartFraction = null;
|
||||
widget.thumbnailService?.cancelPending();
|
||||
_previewFraction.value = null;
|
||||
widget.onScrubEnd?.call();
|
||||
|
||||
Reference in new issue
Block a user