iPad polish: fix Tempo/Tuner truncation, sheet title overlap, cramped strip
- TempoView/TunerView toggles size to content (fixedSize) instead of a fixed 96pt width that truncated "Tempo: On" to "Tempo:…" at iOS font sizes. - Add-Pedal sheet uses an inline navigation title so the large title no longer draws over the palette list. - Settings sheet lays the engine controls out in a plain scroll (not a Form), so the Start button isn't compressed to "S…"; input picker on its own row. - Compact top strip separates Tempo/Tuner, the board mixer, and the scope with dividers and section spacing so they stop visually colliding. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -26,8 +26,6 @@ public struct TempoView: View {
|
||||
private static let bpmStep: Double = 1.0
|
||||
private static let ledDiameter: CGFloat = 14
|
||||
private static let rowSpacing: CGFloat = 10
|
||||
/// Shared width for the Tempo / Tuner engage toggles so they left-align in the stacked column.
|
||||
static let toggleWidth: CGFloat = 96
|
||||
/// Fixed row height = the enabled (BPM/TAP-visible) height, so toggling doesn't shift layout.
|
||||
static let enabledHeight: CGFloat = 34
|
||||
|
||||
@@ -55,7 +53,7 @@ public struct TempoView: View {
|
||||
}
|
||||
.buttonStyle(.bordered)
|
||||
.tint(shoeGaze.tempoEnabled ? .green : .gray)
|
||||
.frame(width: TempoView.toggleWidth, alignment: .leading)
|
||||
.fixedSize()
|
||||
.help("Show the tempo indicator and enable tempo-synced controls")
|
||||
|
||||
if shoeGaze.tempoEnabled {
|
||||
|
||||
Reference in New Issue
Block a user