Files
vectorcraft/docs
dotCooCoo 5b57822605 Anchor Inspector: canceling a field edit restores the anchor or the Points per segment count
The X, Y, Length and Angle fields ran addon.pathtools.setAnchor with each
value as it was typed, outside any undo scope, so Escape left the anchor
edited and an angle edit could leave one undo step per keystroke. Each
field's gesture now runs in one undo scope (EditPath::Scope): Enter keeps
the edit as one undo step, and Escape restores the anchor with no step.

While an Angle edit runs, the field shows the handle's angle in the typed
value's turn, so a typed 200 is not read back as -160, which the field
took as a change made by the app and ended the edit with it kept.

Points per segment takes the value its field holds after its events, so a
canceled edit leaves the count Add Points uses as it was.
2026-11-28 08:13:12 -08:00
..
…