diff --git a/Sources/LyrebirdShoeGazeUI/BoardBarView.swift b/Sources/LyrebirdShoeGazeUI/BoardBarView.swift index c77b915..472cc48 100644 --- a/Sources/LyrebirdShoeGazeUI/BoardBarView.swift +++ b/Sources/LyrebirdShoeGazeUI/BoardBarView.swift @@ -41,7 +41,9 @@ public struct BoardBarView: View { // MARK: - Layout constants private static let barSpacing: CGFloat = 10 - private static let barHeight: CGFloat = 92 + // Tall enough for the control column's three rows of (iOS-chunky) segmented picker + sliders + + // bordered mute button, so it doesn't overflow into the CPU meters below. + private static let barHeight: CGFloat = 110 private static let cellSpacing: CGFloat = 8 private static let cellWidth: CGFloat = 104 private static let cellInnerSpacing: CGFloat = 5 diff --git a/Sources/LyrebirdShoeGazeUI/ShoeGazeBuilderView.swift b/Sources/LyrebirdShoeGazeUI/ShoeGazeBuilderView.swift index 4485412..3d8b792 100644 --- a/Sources/LyrebirdShoeGazeUI/ShoeGazeBuilderView.swift +++ b/Sources/LyrebirdShoeGazeUI/ShoeGazeBuilderView.swift @@ -550,11 +550,14 @@ public struct ShoeGazeBuilderView: View { TempoView(shoeGaze: shoeGaze) TunerView(shoeGaze: shoeGaze) rigBypassButton + // fixedSize stops the switch Toggle from expanding to fill the row (which pushed + // the following controls far to the right, under the scope). Toggle("Mute rig", isOn: Binding( get: { shoeGaze.tunerMutesRig }, set: { shoeGaze.tunerMutesRig = $0 } )) .toggleStyle(.switch) + .fixedSize() helpButton if let midi: MIDIController = midi { MIDIIndicatorView(controller: midi) { showMIDISheet = true }