mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-13 20:53:58 +08:00
remove longpress threshold on main
Closes #2075 Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -1245,14 +1245,11 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
if (PlatformUtils.isMobile) {
|
||||
_tapGestureRecognizer.addPointer(event);
|
||||
if (controlsUnlock) {
|
||||
final flag = _isPositionAllowed(event.localPosition);
|
||||
if (!plPlayerController.isLive) {
|
||||
_doubleTapGestureRecognizer.addPointer(event);
|
||||
if (flag) {
|
||||
longPressRecognizer.addPointer(event);
|
||||
}
|
||||
longPressRecognizer.addPointer(event);
|
||||
}
|
||||
if (flag) {
|
||||
if (_isPositionAllowed(event.localPosition)) {
|
||||
_scaleGestureRecognizer.addPointer(event);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user