iPad header: stop Mute toggle expanding; fix mixer overflow into CPU meters
- The switch Toggle filled the row, pushing Bypass / Mute / Help / MIDI far right under the scope. fixedSize keeps them contiguous next to Tempo/Tuner under the title. - BoardBarView's control column (segmented picker + two sliders + bordered mute) is taller than 92pt with iOS control metrics and overflowed into the CPU meters; raise barHeight to 110. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user