chris.giteaandClaude Sonnet 5 788cf0fc9d fix(gallery): force an immediate CSS pass after every selection/checked pseudo-class flip
Toggling :selected/:checked only marks a card CSS-dirty; on a
virtualised ListCell that dirty flag can sit uncommitted until some
unrelated pulse or mouse move forces a CSS pass (Scene's own picking
machinery does this on hit-testing — the exact same mechanism
relayout()'s own javadoc already names for a stale thumbnail paint).
Users saw this as a border staying (or never appearing) blue across
several thumbnails clicked left-to-right, self-correcting only once
the mouse happened to hover over the stale one.

card.applyCss() right after each pseudoClassStateChanged forces that
repaint synchronously instead of leaving it to chance — applied in
GalleryRowCell's own selection/checked handling and in
ThumbnailGalleryPane's scene-wide highlight resync alike.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-23 23:25:10 -04:00
2026-08-22 17:52:02 -04:00
2026-08-22 11:54:20 -04:00
2026-08-22 11:54:20 -04:00
2026-08-22 11:54:20 -04:00
2026-08-08 23:21:21 -04:00
2026-07-26 18:49:07 -04:00
2026-07-26 18:49:07 -04:00
S
Description
No description provided
54 MiB
Languages
Java 97.4%
CSS 1.5%
Python 0.9%
JavaScript 0.2%