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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user