mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-08 10:40:45 +00:00
The outline cache kept a copy of each stroke's line to recognize a moved path, and made that copy on every miss, so an anchor edit of a long path paid for copying its whole line. The entry now records whether its outline was made along a line of the object's own path. On a miss, the anchors of the earlier object are compared with the new one's, stopping at the first that differs, and the earlier line is made again from the object and its stroke only when they match. Strokes with arrowheads keep the reuse: the check uses the untrimmed path.