mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 11:26:02 +00:00
The previous approach filtered zero-opacity elements before groupIntoLayers(), which broke the DOM screenshot hide-list — invisible video elements' <img> replacements weren't properly hidden from sibling layer screenshots, causing the vignelli-stacking regression. Fix: keep all elements in groupIntoLayers() for correct hide-list generation. Skip zero-opacity HDR elements only during the actual blit step with an early `continue` in the compositing loop. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>