Duo: fill folded Now Playing and hinge-side panes, centre stems, fit all faders

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-11-18 16:45:44 -08:00
1 parent 09bf1b2835
commit 29a1742f8d
4 files changed
+18 -2

No files matched your search

+4
View File
@@ -170,6 +170,10 @@ private struct DuoPane<Content: View>: View {
layout {
content
.environment(\.layoutDirection, .leftToRight)
// The tab's navigation picks up the window's right-hand inset (the status column)
// even though it ends at the hinge, so the bar and rows stopped short of it. The
// hinge side never needs an inset.
.ignoresSafeArea(.container, edges: cut?.vertical == true ? (flip ? .leading : .trailing) : [])
.frame(width: cut.map { $0.vertical ? (flip ? $0.second : $0.first) : geo.size.width } ?? geo.size.width,
height: cut.map { $0.vertical ? geo.size.height : $0.first } ?? geo.size.height)
if let cut {