mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Disable offset animation on hiding player
This commit is contained in:
@@ -129,8 +129,6 @@ struct VideoPlayerView: View {
|
||||
.onChange(of: player.presentingPlayer) { newValue in
|
||||
if newValue {
|
||||
viewDragOffset = 0
|
||||
} else {
|
||||
viewDragOffset = Self.hiddenOffset
|
||||
}
|
||||
}
|
||||
.onAppear {
|
||||
|
Reference in New Issue
Block a user