mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-07 16:52:47 +00:00
The canvas flattened every selected object's outline and tessellated its anchors and handles again in each frame. It now keeps them per object as one mesh, valid for the object's node, layer color and selected anchors. An idle frame draws the mesh again. A pan moves kept outlines and handles and places the anchor squares again. A frame with a new zoom, rotation or display scale draws plain shapes and keeps nothing, and the next frame at that view builds the marks. Entries of objects that leave the selection or the document are dropped.