feat: add a selectBoxOnDrag prop which allows select box to be triggered without an additional key press.

This commit is contained in:
Jack Fishwick
2022-11-22 10:55:06 +00:00
parent 6bbc004315
commit 685ff76ee8
5 changed files with 19 additions and 10 deletions
@@ -56,6 +56,7 @@ const GraphView = ({
connectionLineComponent,
connectionLineContainerStyle,
selectionKeyCode,
selectBoxOnDrag,
multiSelectionKeyCode,
zoomActivationKeyCode,
deleteKeyCode,
@@ -110,6 +111,7 @@ const GraphView = ({
onPaneScroll={onPaneScroll}
deleteKeyCode={deleteKeyCode}
selectionKeyCode={selectionKeyCode}
selectBoxOnDrag={selectBoxOnDrag}
multiSelectionKeyCode={multiSelectionKeyCode}
zoomActivationKeyCode={zoomActivationKeyCode}
elementsSelectable={elementsSelectable}