Wavetable editor fits above the keyboard: one oscillator per tab, table drawn in its card (0.36.1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
3170e8dd7a
commit
bc257203e3
@@ -349,6 +349,16 @@ table). `DeviceLayoutsTest` checks that every parameter of every laid-out device
|
||||
is on exactly one card and that knob labels stay short. A device missing from
|
||||
`DeviceLayouts` falls back to one card with all its parameters.
|
||||
|
||||
**Fit above the keyboard (0.36.1).** Instruments pin an audition keyboard, which
|
||||
leaves the editor about 460 dp on a 20:9 phone, of which the title, preset bar and
|
||||
tab strip take about 170. A page should therefore stay under ~290 dp (one card
|
||||
with a drawing, a choice row and a knob row is ~230; two such cards don't fit).
|
||||
That is why the Wavetable has one oscillator per tab and separate AMP and MOD
|
||||
tabs. Its table drawing is a `Viz.Wavetable(osc)` inside each oscillator card
|
||||
(`WavetablePreview`), and LOAD TABLE is a `Panel.action` in Oscillator 1's title
|
||||
(`LoadTableAction`, WavetableEditor.kt). Tabs share the strip's width (up to
|
||||
seven fit) instead of scrolling sideways.
|
||||
|
||||
**Recomposition pitfall (fixed in 0.35.1).** Slot params live in a plain map that
|
||||
Compose can't observe; edits bump `vm.revision` instead. Because the compiler's
|
||||
strong skipping compares `vm`/`slot` by identity, a child composable that receives
|
||||
|
||||
Reference in New Issue
Block a user