Address review: drop stale doc + dead looperTimeline property

- LooperPedal.widthUnits doc updated "double-width" -> triple-width.
- Remove the now-unreachable looperTimeline property (LooperTimelineView is
  rendered from looperColumnarContent; the columnar branch always intercepts
  the looper before defaultContent).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-04 13:11:12 -07:00
parent bdfbe04713
commit d07247e40e
2 changed files with 2 additions and 11 deletions
@@ -40,7 +40,8 @@ public final class LooperPedal: Pedal {
"Multitrack looper: record track A, then layer synced overdubs on tracks B–D."
}
/// Double-width card: the looper carries a full transport plus a track strip and timeline.
/// Triple-width card: the looper spreads its timeline, knobs, and transport grid across three
/// columns so the tall pedal fits the canvas without scrolling.
public override var widthUnits: Int { 3 }
/// The looper always passes the clean signal through and adds the loop on top (see `effect`),
@@ -344,7 +344,6 @@ public struct PedalView: View {
private func defaultContent(sliders: [PedalSlider]) -> some View {
VStack(spacing: PedalView.sectionSpacing) {
namePlate
looperTimeline
knobGrid
selectorRow
switchRow
@@ -482,15 +481,6 @@ public struct PedalView: View {
.clipShape(RoundedRectangle(cornerRadius: PedalView.namePlateCornerRadius))
}
/// Loop timeline strip — rendered only for the double-width `LooperPedal`, between the
/// name plate and the knob grid. Other pedals render nothing here.
@ViewBuilder
private var looperTimeline: some View {
if let looper: LooperPedal = pedal as? LooperPedal {
LooperTimelineView(pedal: looper)
}
}
/// Info button tucked just under the top-left corner screw.
private var infoButton: some View {
Button {