Skip to content

Commit

Permalink
fix: 长按倍速后不恢复
Browse files Browse the repository at this point in the history
  • Loading branch information
guozhigq committed Oct 16, 2023
1 parent 86c87dc commit 789d95e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/plugin/pl_player/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,8 @@ class PlPlayerController {
duration: (currentOption.duration / speed) * playbackSpeed);
danmakuController!.updateOption(updatedOption);
} catch (_) {}
_playbackSpeed.value = speed;
// fix 长按倍速后放开不恢复
// _playbackSpeed.value = speed;
}

/// 设置倍速
Expand Down

0 comments on commit 789d95e

Please sign in to comment.