honour sketch mode after execute (#885)
* enable stay in sketch mode after execute * clean up
This commit is contained in:
@ -425,6 +425,12 @@ export const ModelingMachineProvider = ({
|
||||
})
|
||||
}, [modelingSend, modelingState.nextEvents])
|
||||
|
||||
useEffect(() => {
|
||||
kclManager.registerExecuteCallback(() => {
|
||||
modelingSend({ type: 'Re-execute' })
|
||||
})
|
||||
}, [modelingSend])
|
||||
|
||||
// useStateMachineCommands({
|
||||
// state: settingsState,
|
||||
// send: settingsSend,
|
||||
|
Reference in New Issue
Block a user