mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Animations improvements
This commit is contained in:
@@ -133,7 +133,8 @@ struct ContentView: View {
|
||||
@ViewBuilder var videoPlayer: some View {
|
||||
if player.presentingPlayer {
|
||||
playerView
|
||||
.transition(.move(edge: .bottom))
|
||||
.transition(.asymmetric(insertion: .identity, removal: .move(edge: .bottom)))
|
||||
.zIndex(3)
|
||||
} else if player.activeBackend == .appleAVPlayer {
|
||||
#if os(iOS)
|
||||
playerView.offset(y: UIScreen.main.bounds.height)
|
||||
|
Reference in New Issue
Block a user