mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-26 00:57:05 +00:00
* fix(studio): rotating a layer in a sealed preview turns it from the angle its stylesheet shows A sealed preview's stand-in carries only inline styles, so a rotate on a layer whose stylesheet sets its turn or a centring transform started from 0 and turned about the wrong point. The frame's gesture-start answer now reports the CSS turn (angle and where to draw it) from computed style, read by the same code Studio used, moved to @hyperframes/core/runtime/css-rotation. The rotate draft gains a transform route, which the frame's validator now accepts; both sides check the transform text before it can reach the saved source. * fix(core): a sealed frame's transform text must parse as a transform list A character allowlist let 'translate(1px' and '/*' through, so a frame could close the saved inline transform early and swallow the element's other inline styles into it. isTransformList now folds innermost known calls until none are left and accepts only what folds away: known function names, balanced parentheses, no comments.