feat(draw): Arc Continue command; 3-Point default
Arc ribbon default + icon + dropdown order set to 3-Point. New ARC_CONT: tangent-continuing arc from the last line/arc endpoint, pick end only; Ctrl flips direction. Exit anchor recorded on commit (disambiguated by last pick) so chaining continues from the correct end. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
b808fc2f86
commit
c4fcfacb18
10 changed files with 212 additions and 13 deletions
|
|
@ -1751,8 +1751,17 @@ impl OpenCADStudio {
|
|||
}
|
||||
|
||||
Message::SetModifiers { shift, ctrl } => {
|
||||
let ctrl_changed = self.ctrl_down != ctrl;
|
||||
self.shift_down = shift;
|
||||
self.ctrl_down = ctrl;
|
||||
// A live command may key its preview off Ctrl (arc-direction
|
||||
// flip). Rebuild it at the current cursor so the flip shows
|
||||
// without waiting for the next mouse move.
|
||||
let i = self.active_tab;
|
||||
if ctrl_changed && self.tabs[i].active_cmd.is_some() {
|
||||
let p = self.tabs[i].last_cursor_screen;
|
||||
return Task::done(Message::ViewportMove(p));
|
||||
}
|
||||
Task::none()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue