mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
The renderer's Page.captureScreenshot can introduce a 1-2px offset at viewport boundaries due to compositor subpixel rounding. Grid rows are now 341px (3×341 + 2×30 = 1083), overflowing the 1080 viewport by 3px. The overflow is clipped by overflow: hidden, but ensures any capture offset still sees grid content rather than the body background. Also removed flex centering from .demo-canvas — unnecessary now that the grid fills the viewport, and it was a source of non-deterministic positioning under multi-worker rendering. Co-authored-by: Kanyini <onebenson@gmail.com>