mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-28 12:46:48 -06:00
The badge painter only covered five sites, so pressing Alt+H showed nothing past the tab letter. Now every control with a catalog command id paints its badge automatically: - control_badge(prefix, id): the rest of a control's unique sequence (HFC -> "FC" on Font Color), or the common group letter when many variants land on one control (HBA..HBW -> "B" on Borders). - anchor_badge(prefix, targets): menu anchors resolve to the dominant group-level candidate (Pictures shows "P", not SmartArt's "M"). - ribbon.rs: 90+ control sites now paint through control_keytip/ anchor_keytip (mechanical sweep + hand-wired anchors); split buttons paint at their arrow rect. - Offscreen snapshot verified: at prefix H the Home ribbon paints V/X/C/FP/1/2/3U/FC/H/FG/FK/AL/AC/AR/5/6/WW/MC/K/0/9/L/T/J/I/D/O. - Tests: 29 lib + 14 keytips, all 8 CI gates green.