mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
opt mouse event
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user