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
@@ -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 {