fix(instrument-ui): raise Disabled-cue contrast, fix stale 1.2 MASTER row, close hover/focus minors

This commit is contained in:
2026-08-03 14:04:00 -04:00
parent 73c69f689c
commit 84905e6bd1
5 changed files with 21 additions and 11 deletions
+3 -1
View File
@@ -37,7 +37,9 @@ void ReaSamplerEditor::onMouseDown(int x, int y) {
// The overlay focus follows the deck (mouseDownDeck sets it), and clicking a control
// surface OUTSIDE the envelope decks clears it. The waveform band is deliberately not one
// of those surfaces: it IS the overlay, so editing what you selected must not deselect it.
if (drag_ == DragKind::kNone && contains(fl.bands.chrome, x, y) &&
// Chrome's own dead space (the title band, the gaps between its controls) is not a control
// surface either — hoverChrome answers only for chrome's actual interactive elements.
if (drag_ == DragKind::kNone && hoverChrome(fl, x, y).kind != HoverKind::kNone &&
overlayEnv_ != OverlayEnv::kNone) {
overlayEnv_ = OverlayEnv::kNone;
invalidate(); // the chrome branches below repaint only what THEY changed