mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
276a9a6985
A rich-text patch adds spans, and it left them without their stable ids. The next preview request minted them and wrote the file a second time — after Studio had recorded the edit in its history. The recorded "after" no longer matched the bytes on disk, so the content check refused and undo reported the file as changed outside Studio. Every colour applied to a run of characters and every text layer added poisoned the history the same way. The patch now mints those ids itself, with the same function the later pass would have used, in the bytes it writes and hands back. The clip split already did this for its clone and its comment names this exact failure. Undo and redo also move out of the header and into the timeline toolbar, left of the selection tool. They act on the timeline and the canvas; the header is for the project. They read the shell optionally, so the standalone timeline the player package exports still mounts without a project.