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)
|
.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) {
|
.overlay(alignment: .topTrailing) {
|
||||||
if !model.isCompact && !model.compactWindow.isTransitioning {
|
if !model.isCompact && !model.compactWindow.isTransitioning {
|
||||||
titleControls
|
titleControls
|
||||||
@@ -2787,6 +2783,10 @@ private struct PlayerContent: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.ignoresSafeArea()
|
.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)
|
.preferredColorScheme(.dark)
|
||||||
.foregroundStyle(Color(SunsetPalette.text))
|
.foregroundStyle(Color(SunsetPalette.text))
|
||||||
.tint(Color(SunsetPalette.accent))
|
.tint(Color(SunsetPalette.accent))
|
||||||
|
|||||||
Reference in New Issue
Block a user