mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Fix settings overlay layout
This commit is contained in:
parent
d5b4b6baac
commit
a51de0d084
@ -67,9 +67,6 @@ struct VideoPlayerView: View {
|
||||
if playerControls.presentingControlsOverlay {
|
||||
HStack {
|
||||
HStack {
|
||||
#if !os(tvOS)
|
||||
Spacer()
|
||||
#endif
|
||||
ControlsOverlay()
|
||||
#if os(tvOS)
|
||||
.onExitCommand {
|
||||
@ -85,17 +82,15 @@ struct VideoPlayerView: View {
|
||||
.modifier(ControlBackgroundModifier())
|
||||
.clipShape(RoundedRectangle(cornerRadius: 4))
|
||||
.transition(.opacity)
|
||||
|
||||
#if !os(tvOS)
|
||||
Spacer()
|
||||
#endif
|
||||
}
|
||||
#if !os(tvOS)
|
||||
.frame(width: player.playerSize.width)
|
||||
.frame(maxWidth: fullScreenLayout ? .infinity : player.playerSize.width)
|
||||
#endif
|
||||
|
||||
#if !os(tvOS)
|
||||
Spacer()
|
||||
if !fullScreenLayout && sidebarQueue {
|
||||
Spacer()
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#if os(tvOS)
|
||||
|
Loading…
Reference in New Issue
Block a user