@remotion/studio: Parse rotation values directly to preserve angles beyond 360°#6943
@remotion/studio: Parse rotation values directly to preserve angles beyond 360°#6943JonnyBurger merged 1 commit intomainfrom
@remotion/studio: Parse rotation values directly to preserve angles beyond 360°#6943Conversation
… beyond 360° Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Reviewed PR #6943 — the approach is sound. Left one comment about the regex not handling Task list (4/4 completed)
|
There was a problem hiding this comment.
Clean fix — direct parsing avoids DOMMatrix's inherent angle normalization. One minor robustness gap in the regex patterns.
Big Pickle (free) | 𝕏
|
Addressed the review feedback by broadening the rotation regex to accept all valid CSS Task list (3/3 completed)
|

Summary
DOMMatrix+atan2to parse rotation values, which loses information about full rotationsdeg,rad,turn, andgradunit strings directly to preserve the original numeric valueDOMMatrixapproach for unrecognized formatsTest plan
rad,turn,gradunits parse correctly🤖 Generated with Claude Code