From d07247e40e8d578bb72fd2b993a80b73d73dad25 Mon Sep 17 00:00:00 2001 From: Joshua Parmenter Date: Sat, 4 Jul 2026 13:11:12 -0700 Subject: [PATCH] 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 --- Sources/LyrebirdShoeGaze/Pedals/LooperPedal.swift | 3 ++- Sources/LyrebirdShoeGazeUI/PedalView.swift | 10 ---------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/Sources/LyrebirdShoeGaze/Pedals/LooperPedal.swift b/Sources/LyrebirdShoeGaze/Pedals/LooperPedal.swift index bebbe67..fa1814d 100644 --- a/Sources/LyrebirdShoeGaze/Pedals/LooperPedal.swift +++ b/Sources/LyrebirdShoeGaze/Pedals/LooperPedal.swift @@ -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`), diff --git a/Sources/LyrebirdShoeGazeUI/PedalView.swift b/Sources/LyrebirdShoeGazeUI/PedalView.swift index 5f0d020..3dda223 100644 --- a/Sources/LyrebirdShoeGazeUI/PedalView.swift +++ b/Sources/LyrebirdShoeGazeUI/PedalView.swift @@ -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 {