mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Allow player swipe gesture when in fullscreen
This commit is contained in:
parent
d659063897
commit
fd3b3e604a
@ -152,10 +152,6 @@ struct VideoPlayerView: View {
|
||||
.gesture(
|
||||
DragGesture(coordinateSpace: .global)
|
||||
.onChanged { value in
|
||||
guard !fullScreenLayout else {
|
||||
return // swiftlint:disable:this implicit_return
|
||||
}
|
||||
|
||||
player.backend.setNeedsDrawing(false)
|
||||
let drag = value.translation.height
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user