mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 19:11:26 +00:00
path.setHandle with link: true treated a request as a change whenever the whole anchor differed after the other handle was turned again. Turning it again from its stored end measures its length anew, which can round its end differently in the last bit, so the same request sent twice recorded a second Reshape step and moved the other handle by one unit in the last place. The request now also counts as unchanged when the anchor is smooth, the requested handle is already at (x, y), and the other handle sits exactly where turning it puts it at some positive length, with the same arithmetic. Any other handle is turned and records a step, including one slightly off line, a short one at right angles, one on the same side, and a retracted one that is pulled out.