mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-11 19:09:20 +00:00
- one shared owner of the live preview iframe element (zustand store) that App updates on promotion; color grading (controller and previews), layers panel, topology lens, caption overlay, caption detection and composition dimensions subscribe in their effect deps and re-attach to the new element - composition dimensions re-read the authored size from the promoted document because the runtime posts stage-size only once per document - the player reports whether it is ready to show right now, so a loader that re-raises before promotion holds the swap - the shadow's timeline is written to the store at promotion only, never for a shadow that fails - a composition switch clears the refresh flags like a failed reload does - failure and promotion callbacks are read through refs so an armed timer never calls a stale one