mouse listners should be reset outside of sketch (#1442)

* mouse listners should be reset outside of sketch (only orbit controls are needed) and also check mouse button

* tweak
This commit is contained in:
Kurt Hutten
2024-02-19 12:41:36 +11:00
committed by GitHub
parent 3377923dcb
commit 4d77875bdc
4 changed files with 22 additions and 3 deletions

View File

@ -199,6 +199,7 @@ export const ModelingMachineProvider = ({
await kclManager.executeAstMock(newAst, { updates: 'code' })
sceneInfra.setCallbacks({
onClick: () => {},
onDrag: () => {},
})
},
'animate-to-face': async (_, { data: { plane, normal } }) => {