#6686 Fix Unable to double click to edit sketch with specific set of actions (#6766)

* Canceling sketch mode into 'undo startSketchOn' should work from all sketch states, not just in Line

* add test
This commit is contained in:
Andrew Varga
2025-05-08 11:50:25 +02:00
committed by GitHub
parent 89c345649d
commit 67f9dba77b
2 changed files with 67 additions and 2 deletions

View File

@ -3384,8 +3384,6 @@ export const modelingMachine = setup({
target: 'normal',
actions: 'set up draft line',
},
Cancel: '#Modeling.Sketch.undo startSketchOn',
},
exit: 'remove draft entities',
@ -4208,6 +4206,7 @@ export const modelingMachine = setup({
initial: 'Init',
on: {
Cancel: '.undo startSketchOn',
CancelSketch: '.SketchIdle',
'Delete segment': {