788cf0fc9db25fe0b0326ae2466ad313a587b221
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>
Description
No description provided
54 MiB
Languages
Java
97.4%
CSS
1.5%
Python
0.9%
JavaScript
0.2%