mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-14 19:26:56 -04:00
When the last frame took more than 8 ms to render, the desktop app's canvas sends the next frame to the render worker and draws the last one until the new one arrives. After a pan or a zoom it draws the last frame moved and scaled. After the view angle changed, it drew no art until a frame at the new angle arrived. The angle changes during a Rotate View drag and when the status bar's angle menu, Reset Rotate View or a saved view sets it. In a headless run of the canvas on a document of 50,000 paths, none of the 60 frames of a turn from 0° to 90° drew any art. The canvas now draws the last frame as a mesh turned into the new view. Each corner goes where the new view puts the document point that the corner showed. The frame at the new angle replaces it when it arrives, as before. Pixel Preview's frames already turned with the view and are drawn as before. Docs: docs/target-app-parity.md.