Re-derive the floor-size test fixtures from the constants and move the ceiling to sample_bands.h
This commit is contained in:
@@ -24,6 +24,13 @@ inline constexpr int kPad = 8;
|
||||
inline constexpr int kEditorMinWidth = 1190;
|
||||
inline constexpr int kEditorMinHeight = 680;
|
||||
|
||||
// The hard ceiling the floor above may not exceed; the window itself still grows freely above
|
||||
// it. A window fact, sibling of kEditorMinWidth/kEditorMinHeight, not a deck one — moved here
|
||||
// from knob_deck.h for that reason. The gap to the floor (today: 90px) is the deck's whole
|
||||
// width budget, spent once; the identity is asserted in test_deck_groups.cpp, the one place
|
||||
// that already includes both this header and knob_deck.h.
|
||||
inline constexpr int kEditorCeilingWidth = 1280;
|
||||
|
||||
// Chrome band: the toolbar row (title + nav) stacked over the control row (piano strip,
|
||||
// preview, velocity knob, channel toggle). sample_chrome partitions it.
|
||||
inline constexpr int kTitleHeight = 26;
|
||||
|
||||
Reference in New Issue
Block a user