mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
Revert "feat: no _showControlsIfNeeded() when slipping"
This reverts commit 551be3dc6a.
This commit is contained in:
@@ -976,6 +976,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
final dy = cumulativeDelta.dy.abs();
|
||||
if (dx > 3 * dy) {
|
||||
_gestureType = GestureType.horizontal;
|
||||
_showControlsIfNeeded();
|
||||
} else if (dy > 3 * dx) {
|
||||
if (!plPlayerController.enableSlideVolumeBrightness &&
|
||||
!plPlayerController.enableSlideFS) {
|
||||
@@ -1295,6 +1296,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
final dy = pan.dy.abs();
|
||||
if (dx > 3 * dy) {
|
||||
_gestureType = GestureType.horizontal;
|
||||
_showControlsIfNeeded();
|
||||
} else if (dy > 3 * dx) {
|
||||
_gestureType = GestureType.right;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user