fix(dsh-plugin-browserskill): stop observation overlay from flashing between frames

Hold the last ready thumbnail until the next one decodes, and swap the
img src in place instead of remounting through a placeholder.
This commit is contained in:
BB-fat
2026-08-17 07:27:28 +00:00
parent 51085b960b
commit 9854ee2f45
6 changed files with 157 additions and 19 deletions
@@ -79,6 +79,8 @@
overflow: hidden;
}
/* Fade only on first mount. The <img> is reused across frames (src swap,
no React key) so this animation must not replay on every breath. */
.thumb {
max-width: 100%;
max-height: 100%;