* Canceling sketch mode into 'undo startSketchOn' should work from all sketch states, not just in Line * add test
This commit is contained in:
@ -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': {
|
||||
|
Reference in New Issue
Block a user