fix: fill the fixed start window through its safe area
This commit is contained in:
@@ -2769,10 +2769,6 @@ private struct PlayerContent: View {
|
||||
.accessibilityHidden(!model.showsQueue)
|
||||
}
|
||||
}
|
||||
.frame(minWidth: startScreen ? 640 : (model.isCompact || model.compactWindow.isTransitioning ? 160 : 400 + model.queueWidth),
|
||||
maxWidth: startScreen ? 640 : .infinity,
|
||||
minHeight: startScreen ? model.startContentHeight : (model.isCompact || model.compactWindow.isTransitioning ? model.compactContentMinimumHeight : 240),
|
||||
maxHeight: startScreen ? model.startContentHeight : .infinity)
|
||||
.overlay(alignment: .topTrailing) {
|
||||
if !model.isCompact && !model.compactWindow.isTransitioning {
|
||||
titleControls
|
||||
@@ -2787,6 +2783,10 @@ private struct PlayerContent: View {
|
||||
}
|
||||
}
|
||||
.ignoresSafeArea()
|
||||
.frame(minWidth: startScreen ? 640 : (model.isCompact || model.compactWindow.isTransitioning ? 160 : 400 + model.queueWidth),
|
||||
maxWidth: startScreen ? 640 : .infinity,
|
||||
minHeight: startScreen ? model.startContentHeight : (model.isCompact || model.compactWindow.isTransitioning ? model.compactContentMinimumHeight : 240),
|
||||
maxHeight: startScreen ? model.startContentHeight : .infinity)
|
||||
.preferredColorScheme(.dark)
|
||||
.foregroundStyle(Color(SunsetPalette.text))
|
||||
.tint(Color(SunsetPalette.accent))
|
||||
|
||||
Reference in New Issue
Block a user