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
-1
View File
@@ -98,7 +98,6 @@ const defaultState = (): State => ({
nodesDraggable: true,
elementsSelectable: true,
selectNodesOnDrag: true,
selectionOnDrag: false,
multiSelectionActive: false,
selectionKeyCode: 'Shift',
multiSelectionKeyCode: 'Meta',