mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 23:03:09 +00:00
fix: propagate data-timeline-locked in compiler inliners
The runtime path (compositionLoader.ts) already propagated data-timeline-locked from inner root to host, but both compiler inliners (bundler + producer) did not. Bundled output re-opened in Studio would lose the lock. Now propagated in inlineSubCompositions alongside the existing data-hf-authored-id propagation.
This commit is contained in:
@@ -302,6 +302,10 @@ export function inlineSubCompositions(
|
||||
);
|
||||
}
|
||||
|
||||
if (innerRoot?.hasAttribute("data-timeline-locked")) {
|
||||
hostEl.setAttribute("data-timeline-locked", "");
|
||||
}
|
||||
|
||||
// Copy dimension attributes from inner root to host if missing
|
||||
if (innerRoot) {
|
||||
const innerW = innerRoot.getAttribute("data-width");
|
||||
|
||||
Reference in New Issue
Block a user