Ψ-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:
@@ -12,7 +12,9 @@ Rect cardNameStrip(const Rect& cell) {
|
||||
// is a text block, not a thumbnail.
|
||||
const int minHeight = 3 * kCardStripHeight;
|
||||
if (cell.width <= 2 * kCardStripPad || cell.height < minHeight) return Rect{};
|
||||
// Inset by 1px from the top edge so the name never sits on the selection border.
|
||||
// Inset by 1px from the top edge so the name never sits on the focused-cell inner ring
|
||||
// (drawn at rect.y+1, panel_render.cpp) — the selection border itself is at rect.y and is
|
||||
// clear regardless.
|
||||
return Rect{cell.x + kCardStripPad, cell.y + 1,
|
||||
cell.width - 2 * kCardStripPad, kCardStripHeight};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user