Remove extra check for dragging

This commit is contained in:
Giovanni Giordano 2020-01-02 15:56:34 +01:00
parent a9bd112f47
commit 715efc054e

View File

@ -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";