Stack the routing row under the pedal picker
Move the ROUTING cards (Stereo Split / Parallel Split / Merge to Mono) from the right of the horizontal pedal strip to their own row beneath the pedal cards, using the space under the picker. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -155,21 +155,24 @@ public struct PedalPaletteView: View {
|
||||
}
|
||||
}
|
||||
|
||||
/// Fixed-width-card row for a horizontal scroller: leading filter + PEDALS group, a divider,
|
||||
/// then the ROUTING group.
|
||||
/// Horizontal scroller: a PEDALS row (leading filter + colour-coded cards) with the ROUTING
|
||||
/// row stacked beneath it.
|
||||
private var horizontalBody: some View {
|
||||
HStack(alignment: .top, spacing: PedalPaletteView.rowSpacing) {
|
||||
VStack(alignment: .leading, spacing: PedalPaletteView.rowSpacing) {
|
||||
sectionTitle("PEDALS")
|
||||
filterMenu
|
||||
VStack(alignment: .leading, spacing: PedalPaletteView.sectionSpacing) {
|
||||
HStack(alignment: .top, spacing: PedalPaletteView.rowSpacing) {
|
||||
VStack(alignment: .leading, spacing: PedalPaletteView.rowSpacing) {
|
||||
sectionTitle("PEDALS")
|
||||
filterMenu
|
||||
}
|
||||
ForEach(visiblePedalNames, id: \.self) { name in
|
||||
pedalRow(name)
|
||||
}
|
||||
}
|
||||
ForEach(visiblePedalNames, id: \.self) { name in
|
||||
pedalRow(name)
|
||||
}
|
||||
Divider().overlay(Color.white.opacity(PedalPaletteView.cardBorderOpacity))
|
||||
sectionTitle("ROUTING")
|
||||
ForEach(PedalPaletteView.routingOptions, id: \.title) { option in
|
||||
routingCard(title: option.title, caption: option.caption, action: option.action)
|
||||
HStack(alignment: .top, spacing: PedalPaletteView.rowSpacing) {
|
||||
sectionTitle("ROUTING")
|
||||
ForEach(PedalPaletteView.routingOptions, id: \.title) { option in
|
||||
routingCard(title: option.title, caption: option.caption, action: option.action)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user