Merge pull request #914 from ambroseus/fix/is-dragging-true

fix(updateNodePosDiff): added missing isDragging: true in action payload
This commit is contained in:
Moritz Klack
2021-02-19 18:13:38 +01:00
committed by GitHub
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -139,6 +139,7 @@ export default (NodeComponent: ComponentType<NodeComponentProps>) => {
x: draggableData.deltaX,
y: draggableData.deltaY,
},
isDragging: true,
});
},
[id, node, onNodeDrag]
+1
View File
@@ -87,6 +87,7 @@ export default ({
x: data.deltaX,
y: data.deltaY,
},
isDragging: true,
});
},
[onSelectionDrag, selectedNodes, updateNodePosDiff]