Ψ-W2-T1 remediation: scrim the card name over the waveform, hedge two SDK claims, fix a UTF-8-truncation empty-label bug, file the legibility DAW deferral
This commit is contained in:
@@ -15,9 +15,13 @@ inline constexpr int kCardStripHeight = 12;
|
||||
inline constexpr int kCardStripPad = 3;
|
||||
|
||||
// The strip the card's name line occupies: across the top of the cell, drawn OVER the
|
||||
// waveform exactly as the length read-out is drawn over it at the bottom. Empty when the
|
||||
// cell has no room for both strips plus a waveform worth looking at — the caller draws
|
||||
// nothing rather than burying the card under text.
|
||||
// waveform exactly as the length read-out is drawn over it at the bottom, rather than a
|
||||
// reserved non-drawing band — kCardStripHeight (12px) is a small slice of the shipping 84px
|
||||
// cell, and the overlay matches the bottom read-out's existing convention rather than
|
||||
// introducing a second layout rule. The draw site scrims behind the text so it stays legible
|
||||
// over the waveform's accent fill (`kCardNameScrimAlpha`, `theme.h`). Empty when the cell has
|
||||
// no room for both strips plus a waveform worth looking at — the caller draws nothing rather
|
||||
// than burying the card under text.
|
||||
Rect cardNameStrip(const Rect& cell);
|
||||
|
||||
// Musical length inputs, taken straight off a Sample's capture-time stamp. tempoBpm 0 = unknown;
|
||||
|
||||
Reference in New Issue
Block a user