Fixes events with shapes, adds test for selection

This commit is contained in:
Steve Ruiz 2021-06-23 15:39:14 +01:00
parent e265a85d7b
commit d5fe5612e1
13 changed files with 13504 additions and 81 deletions

View file

@ -30,7 +30,7 @@ export default function useHandleEvents(
if (isDoubleClick && !(info.altKey || info.metaKey)) {
state.send('DOUBLE_POINTED_HANDLE', info)
} else {
state.send('STOPPED_POINTING', inputs.pointerUp(e))
state.send('STOPPED_POINTING', inputs.pointerUp(e, id))
}
},
[id]