fix: harden studio timeline editing and local renders (#463)

* fix: harden studio timeline editing and local renders

* test: cover studio local render fallback

* fix(studio): scale composition hover previews to stage size

* test: normalize studio producer fallback paths

* fix(studio): preserve move surface and retry render fallback
This commit is contained in:
Miguel Ángel
2026-04-24 00:18:37 +02:00
committed by GitHub
parent 21063c66d9
commit 6610b8ad00
15 changed files with 774 additions and 72 deletions
@@ -559,7 +559,11 @@ export function useTimelinePlayer() {
// Convert a runtime timeline message (from iframe postMessage) into TimelineElements
const processTimelineMessage = useCallback(
(data: { clips: ClipManifestClip[]; durationInFrames: number }) => {
(data: {
clips: ClipManifestClip[];
durationInFrames: number;
scenes?: Array<{ id: string; label: string; start: number; duration: number }>;
}) => {
if (!data.clips || data.clips.length === 0) {
return;
}