Remove extra check for dragging
This commit is contained in:
parent
a9bd112f47
commit
715efc054e
@ -248,7 +248,7 @@ class App extends React.Component {
|
|||||||
this.setState({ draggingElement: selectedElement });
|
this.setState({ draggingElement: selectedElement });
|
||||||
}
|
}
|
||||||
|
|
||||||
isDraggingElements = elements.some(element => element.isSelected && isInsideAnElement(x, y));
|
isDraggingElements = elements.some(element => element.isSelected);
|
||||||
|
|
||||||
if (isDraggingElements) {
|
if (isDraggingElements) {
|
||||||
document.documentElement.style.cursor = "move";
|
document.documentElement.style.cursor = "move";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user