Raise the editor floor to 1190x680, derived from the deck's declared width budget, and make row membership a property of the group

This commit is contained in:
2026-08-01 18:44:01 -04:00
parent e589addc54
commit abb27f08f2
6 changed files with 159 additions and 23 deletions
+6 -1
View File
@@ -16,7 +16,12 @@ inline constexpr int kPad = 8;
// exactly this, and there is no scroll, so anything smaller pushes the deck band off the
// window bottom (computeSampleBands' waveform-floor-wins degrade). Growing is fine — the
// waveform band is the elastic one. Both the enforced minimum and the opening rect read this.
inline constexpr int kEditorMinWidth = 980;
//
// The width is a LITERAL here on purpose, though it is derived from knob_deck's width budget:
// this allocator is deliberately independent of the deck (it takes deckHeight as a parameter
// for exactly that reason), so the derivation is asserted in test_deck_groups.cpp — the one
// place that already includes both headers — rather than coded as an include edge.
inline constexpr int kEditorMinWidth = 1190;
inline constexpr int kEditorMinHeight = 680;
// Chrome band: the toolbar row (title + nav) stacked over the control row (piano strip,