Files
Miguel Ángel e5398dd63e fix(player): use offsetWidth/offsetHeight in scaleIframeToFit to avoid CSS zoom double-scaling
getBoundingClientRect() returns visual dimensions inflated by ancestor CSS zoom.
When the preview stage has zoom: 2, the player's rect was 2x its layout size,
so scaleIframeToFit computed a 2x scale — then CSS zoom doubled it again.
offsetWidth/offsetHeight return layout dimensions regardless of ancestor zoom,
giving the correct scale at every zoom level.

Reverts the NLEPreview writeTransform back to CSS zoom (smooth, native) now
that the root cause in scaleIframeToFit is fixed.
2026-05-13 17:13:42 -07:00
..
2026-05-13 13:40:37 -07:00