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