mirror of
https://github.com/penpot/penpot.git
synced 2026-11-13 05:22:03 +00:00
Changing a component inside a big main component made the WASM renderer draw that component's thumbnail at full size on the main thread, before the viewport redraw. On the Fauna file the 2140x1642 thumbnail took about 1.2 s to render and PNG-encode, so the switch showed up late. - Fit the thumbnail's longest side between 200 and 512 px. Small components still scale up; big ones now scale down. - Draw the thumbnail only on a frame with no viewport render pending Closes #12968 AI-assisted-by: claude-opus-5-5