Files
OneCAD-Draft/src/app
Hakan SevenandClaude Opus 4.7 4c60dce81a fix(cmd): refresh rubber-band preview after typed point (#32)
Typing a coordinate (e.g. \`25\`\\TAB\`45\` for polar input) and pressing
Enter committed the point through \`on_point\` but never re-ran the
preview hook. The mouse-move pipeline that normally publishes the
rubber-band segment from the latest \`last_point\` didn't fire — no
mouse motion occurred — so the active blue segment kept dangling
from the *previous* point until the user nudged the mouse.

Add \`refresh_active_cmd_preview\` and call it after the keyboard
point commits (both the command-line path and the dynamic-input
locked-field path) so the next segment starts from the
just-committed point immediately.

Closes #32

Co-Authored-By: Claude Opus 4.7 <[email protected]>
2026-05-28 22:59:48 +03:00
..