mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Add overlay model visibility methods
This commit is contained in:
@@ -367,7 +367,7 @@ struct VideoPlayerView: View {
|
||||
player.controls.show()
|
||||
} else if direction == .down, !controlsOverlayModel.presenting, !player.controls.presentingControls {
|
||||
withAnimation(PlayerControls.animation) {
|
||||
controlsOverlayModel.presenting = true
|
||||
controlsOverlayModel.hide()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user