opt mouse event

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-03 15:51:44 +08:00
parent aaa8998cb1
commit 1b213793d4
2 changed files with 8 additions and 8 deletions

View File

@@ -1438,12 +1438,7 @@ class PlPlayerController {
// 双击播放、暂停
Future<void> onDoubleTapCenter() async {
if (videoPlayerController!.state.completed) {
await videoPlayerController!.seek(Duration.zero);
videoPlayerController!.play();
} else {
videoPlayerController!.playOrPause();
}
videoPlayerController!.playOrPause();
}
final RxBool mountSeekBackwardButton = false.obs;