Looper: wide 3-column layout to fit tall pedal without scrolling

The looper stacked too many sections to fit the board canvas. Render it (only)
in a wide, three-column layout at widthUnits = 3:

- Left column: loop timeline, Free/Sync switch, Reset footswitch.
- Centre column: the four effect knobs (2×2) over a Level + Bypass footer, with
  the Mix slot reserved empty so Bypass stays horizontally centred like a normal
  pedal.
- Right column: transport footswitches in a 2×2 grid — Record / Reverse over
  Stop / Cue Stop (ordered by label).

Every other pedal keeps the default single-column section stack (extracted into
PedalView.defaultContent, no behaviour change).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-04 13:05:57 -07:00
parent 5090a9255f
commit bdfbe04713
3 changed files with 146 additions and 18 deletions
@@ -168,8 +168,8 @@ struct LooperPedalTests {
#expect(pedal.effectTransportButtons.map { $0.label } == ["Loop", "Stop", "Cue Stop", "Reverse", "Reset"])
}
@Test func looperIsDoubleWidth() throws {
#expect(LooperPedal().widthUnits == 2)
@Test func looperIsTripleWidth() throws {
#expect(LooperPedal().widthUnits == 3)
#expect(LooperPedal.trackCount == 4)
}