mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-11 21:57:14 +03:00
Bun's HTML HMR does a full page reload when the live-wrap.mjs edit lands, so the shader canvas is destroyed and in-memory capture blob is lost. resumeSession rehydrated state from localStorage but never restarted the overlay, so the wait went dead. resumeSession now re-captures the original's content (still in the DOM inside the variant wrapper) and restarts showShaderOverlay when we reload mid-generation. Also swaps the two remaining :first-child selectors in resumeSession for pickVariantContent so the earlier loose-children robustness fix carries across reloads. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>