cad-editor/src/app/commands
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 039f703d7f fix(input): stop drafting-aid keys from cancelling the command
F8 reached ORTHO as an ordinary command, and dispatching a command tears
down whatever is running first: the active command dropped, its preview
cleared, its base point forgotten. So pressing F8 partway through a LINE
abandoned the line, and during a MOVE it took the dragged ghost with it.

A function key gets pressed mid-command — that is what it is for.
Toggles that only flip a flag now skip the teardown: ORTHO, GRID, SNAP,
POLAR, and the drafting-settings popup. None of them starts a command,
opens a document or reads geometry, so there is nothing for the teardown
to protect.

F7, F9 and F10 came through the same path and were broken the same way;
they are fixed with F8. F3, F11 and F12 already had messages of their
own and were never affected.

Closes #677

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-08 00:48:25 +03:00
..
blocks.rs feat(insert): add docked block palette 2026-08-06 11:02:52 +03:00
dim.rs feat(ucs): integrate coordinate systems 2026-08-04 23:17:54 +03:00
display.rs fix(units): make the units selector reach what it names 2026-08-07 19:59:09 +03:00
draw.rs fix(styles): apply active creation defaults 2026-08-03 16:43:58 +03:00
fileops.rs feat(view): one list of visual styles behind every way of choosing one 2026-08-07 14:15:59 +03:00
inquiry.rs fix(view): pause hover during navigation 2026-08-06 00:21:44 +03:00
layerprops.rs feat(ucs): integrate coordinate systems 2026-08-04 23:17:54 +03:00
layers.rs fix(units): leave the sheet viewport alone when converting 2026-08-08 00:11:57 +03:00
mod.rs fix(input): stop drafting-aid keys from cancelling the command 2026-08-08 00:48:25 +03:00
styleprops.rs fix(setvar): refresh geometry the variable is baked into 2026-08-07 11:10:42 +03:00
view.rs feat(view): one list of visual styles behind every way of choosing one 2026-08-07 14:15:59 +03:00