fix(updateNodePosDiff): added missing isDragging: true in action payload

This commit is contained in:
Eugene Samonenko
2021-02-19 16:29:25 +02:00
parent e9ba109c3e
commit 315339f94e
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]