mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: live: double tap
Closes #619 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1048,8 +1048,11 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
|||||||
},
|
},
|
||||||
onDoubleTapDown: (TapDownDetails details) {
|
onDoubleTapDown: (TapDownDetails details) {
|
||||||
// live模式下禁用 锁定时🔒禁用
|
// live模式下禁用 锁定时🔒禁用
|
||||||
if (plPlayerController.videoType.value == 'live' ||
|
if (plPlayerController.controlsLock.value) {
|
||||||
plPlayerController.controlsLock.value) {
|
return;
|
||||||
|
}
|
||||||
|
if (plPlayerController.videoType.value == 'live') {
|
||||||
|
doubleTapFuc('center');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
RenderBox renderBox =
|
RenderBox renderBox =
|
||||||
|
|||||||
Reference in New Issue
Block a user