mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-23 11:29:54 +00:00
Crop a selected element visually: a Crop toggle in the Clip panel arms edge handles on the overlay; dragging live-previews clip-path inset on the iframe element and commits once through the existing inline-style patch path (undo/persist like any style edit). Per-side T/R/B/L inset fields join the Clip section; radius is preserved, insets clamped. Render-time only: the media file is untouched. Clip-path helpers move to clipPathHelpers.ts (re-exported) with 1- and 4-value inset parse/format support.