mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-10 20:32:31 +00:00
* fix(ui): Delete on an anchor selected with Add Anchor Point removes it, not the layer (#12703) With the Add Anchor Point tool and one anchor selected (Ctrl+click), Delete and Backspace fell through to Edit > Clear and deleted the active layer. They now remove the anchor and its two segments, as in the reference application: a closed subpath opens there. One history step, Delete Anchor Point. - vector: edit::delete_anchor_and_segments (a closed subpath opens at the anchor; an open one loses an end or splits at an inner anchor) - engine: path.deleteAnchor takes "segments": bool (default false keeps joining the neighbours, as the tool's click does) - ui: delete_key_deletes_anchor next to delete_key_deletes_work_path, and a Delete/Backspace branch before the work path's * test(vector): Delete on one anchor of a closed two-anchor subpath leaves the other, open (#12703) The kept anchor retains its handles and smooth flag, and the subpath keeps its path operation.