Set nodeDragThreshold to 1
This removes an expensive `dragging: false` update on mouseup (with `dragging: true` never even dispatched)
This commit is contained in:
@@ -61,7 +61,7 @@ const getInitialState = ({
|
||||
paneDragging: false,
|
||||
noPanClassName: 'nopan',
|
||||
nodeOrigin: [0, 0],
|
||||
nodeDragThreshold: 0,
|
||||
nodeDragThreshold: 1,
|
||||
|
||||
snapGrid: [15, 15],
|
||||
snapToGrid: false,
|
||||
|
||||
Reference in New Issue
Block a user