Compact board mixer bar; align scope/CPU to palette width
Shrink BoardBarView to a fixed-height single horizontal scroll group with a tighter two-row control column, so it wraps its elements and frees vertical canvas for the pedals. Constrain the scope and CPU-meter views to the pedal palette width, left-aligned, so they sit under the palette column. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -118,8 +118,11 @@ public struct ShoeGazeBuilderView: View {
|
||||
boardArea
|
||||
}
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .topLeading)
|
||||
// Scope + CPU meters sit under the pedal palette, matching its width.
|
||||
ShoeGazeScopeView(shoeGaze: shoeGaze)
|
||||
.frame(width: ShoeGazeBuilderView.sidebarWidth, alignment: .leading)
|
||||
LyrebirdStatusView(engine: shoeGaze.engine)
|
||||
.frame(width: ShoeGazeBuilderView.sidebarWidth, alignment: .leading)
|
||||
}
|
||||
.padding(ShoeGazeBuilderView.outerPadding)
|
||||
.frame(minWidth: ShoeGazeBuilderView.minWidth, minHeight: ShoeGazeBuilderView.minHeight)
|
||||
|
||||
Reference in New Issue
Block a user