diff --git a/Shared/Player/PlayerDragGesture.swift b/Shared/Player/PlayerDragGesture.swift index 2c38fa53..39e098e7 100644 --- a/Shared/Player/PlayerDragGesture.swift +++ b/Shared/Player/PlayerDragGesture.swift @@ -32,12 +32,8 @@ extension VideoPlayerView { let horizontalDrag = value.translation.width #if os(iOS) - // Detect if the gesture starts within the top 5% of the screen and the player is in fullscreen mode - if value.startLocation.y <= UIScreen.main.bounds.height * 0.05, PlayerModel.shared.playingFullScreen { - // If it's a downward swipe, do nothing (return early) - if verticalDrag > 0, abs(verticalDrag) > abs(horizontalDrag) { - return - } + if viewDragOffset > 0, !isVerticalDrag { + isVerticalDrag = true } #endif