refactor(core): remove selectionOnDrag prop and use selectionKeyCode to trigger selection

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-25 17:38:56 +01:00
committed by Braks
parent 31e3a8cb71
commit c3e1741a4b
8 changed files with 44 additions and 10 deletions
-2
View File
@@ -19,8 +19,6 @@ const { onNodeDragStop, onConnect, addEdges, setTransform, toObject } = useVueFl
maxZoom: 4,
connectOnClick: true,
fitViewOnInit: false,
selectionOnDrag: true,
panOnDrag: [2],
})
onNodeDragStop((e) => console.log('drag stop', e))