mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-22 03:31:09 +08:00
show img menu
opt img placeholder opt player gesture opt pref tweaks Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -1146,11 +1146,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
}
|
||||
|
||||
void onDoubleTapDownMobile(TapDownDetails details) {
|
||||
if (plPlayerController.controlsLock.value) {
|
||||
return;
|
||||
}
|
||||
if (plPlayerController.isLive) {
|
||||
plPlayerController.doubleTapFuc(DoubleTapType.center);
|
||||
if (plPlayerController.isLive || plPlayerController.controlsLock.value) {
|
||||
return;
|
||||
}
|
||||
final double tapPosition = details.localPosition.dx;
|
||||
@@ -1167,7 +1163,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
}
|
||||
|
||||
void onTapDesktop() {
|
||||
if (plPlayerController.controlsLock.value) {
|
||||
if (plPlayerController.isLive || plPlayerController.controlsLock.value) {
|
||||
return;
|
||||
}
|
||||
plPlayerController.onDoubleTapCenter();
|
||||
|
||||
Reference in New Issue
Block a user