Files
vectorcraft/crates/engine
dotCooCoo b14b61835d Undo: a move by 0 and Layer Options that change nothing add no step
path.moveAnchors with dx and dy both 0 (omitted, null or 0) ran the edit
anyway and added a Move step that changed nothing. It now returns before
the edit, as object.nudge does for a move by 0, and its params text
says so.

layer.setProps with no options, or with every option a row already has,
added a Layer Options step that changed nothing. It now applies the
options to a copy of each row first and records no step when no row
changes. As object.setProps does, a call that hides, locks or makes a
template still deselects the art that is no longer editable.

The Command Palette test that checks what a pick of a left-out command
does no longer skips the two commands.
2026-11-28 04:28:48 -08:00
..