refactor(core): set default drag threshold to 1

This commit is contained in:
braks
2023-11-27 12:16:32 +01:00
committed by Braks
parent 039f5a545d
commit e2b30e0b9a

View File

@@ -105,7 +105,7 @@ function defaultState(): State {
nodesFocusable: true,
nodesConnectable: true,
nodesDraggable: true,
nodeDragThreshold: 0,
nodeDragThreshold: 1,
elementsSelectable: true,
selectNodesOnDrag: true,
multiSelectionActive: false,