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
@@ -41,7 +41,7 @@ public final class LooperPedal: Pedal {
}
/// Double-width card: the looper carries a full transport plus a track strip and timeline.
public override var widthUnits: Int { 2 }
public override var widthUnits: Int { 3 }
/// The looper always passes the clean signal through and adds the loop on top (see `effect`),
/// so the wet/dry Mix knob is meaningless — hide it and keep `mix` fully wet.