mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
allow user to disable fullscreen swipe gesture
furthermore, some rewording Signed-off-by: Toni Förster <toni.foerster@gmail.com>
This commit is contained in:
@@ -63,7 +63,7 @@ extension VideoPlayerView {
|
||||
}
|
||||
|
||||
// Toggle fullscreen on upward drag only when not disabled
|
||||
if verticalDrag < -50 {
|
||||
if fullscreenPlayerGestureEnabled, verticalDrag < -50 {
|
||||
player.toggleFullScreenAction()
|
||||
disableGestureTemporarily()
|
||||
return
|
||||
|
Reference in New Issue
Block a user