mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-23 11:29:54 +00:00
Box-originated gestures (drag/resize/rotate) took their origin from the full-bounds overlayRect and wrote box.style directly, so after a drag the box sat at the element origin instead of hugging the crop. Pass the hugged rect (full OverlayRect shape) as the gesture's box geometry — the box now tracks the visible region through the whole gesture, and rotation centers on what's actually on screen.