Remove extra check for dragging

pull/29/head
Giovanni Giordano 5 years ago
parent a9bd112f47
commit 715efc054e

@ -248,7 +248,7 @@ class App extends React.Component {
this.setState({ draggingElement: selectedElement });
}
isDraggingElements = elements.some(element => element.isSelected && isInsideAnElement(x, y));
isDraggingElements = elements.some(element => element.isSelected);
if (isDraggingElements) {
document.documentElement.style.cursor = "move";

Loading…
Cancel
Save