mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 11:26:02 +00:00
The previous isIdentity check only caught matrix(1,0,0,1,0,0). Elements with layout translation (e.g. right-half split at left:960px reporting matrix(1,0,0,1,960,0)) still routed through the affine path where clip rects are not applied. Fix: check for translation-only matrices (scale=1, rotation=0, any tx/ty) and route those through the region blit path. el.x/el.y from getBoundingClientRect already include the translation, so the region path handles positioning correctly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>