mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-25 11:36:45 +08:00
opt player gesture
Closes #1427 opt dyn/reply check Closes #1430 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1058,7 +1058,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
|
||||
void onTap(PointerDeviceKind? kind) {
|
||||
switch (kind) {
|
||||
case ui.PointerDeviceKind.mouse:
|
||||
case ui.PointerDeviceKind.mouse when Utils.isDesktop:
|
||||
onTapDesktop();
|
||||
break;
|
||||
default:
|
||||
@@ -1069,7 +1069,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
|
||||
void onDoubleTapDown(TapDownDetails details) {
|
||||
switch (details.kind) {
|
||||
case ui.PointerDeviceKind.mouse:
|
||||
case ui.PointerDeviceKind.mouse when Utils.isDesktop:
|
||||
onDoubleTapDesktop();
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user