Browse Source

revert #1017 (#1025)

This reverts commit 1546c00c0cea1a814f1c59a35d40610a86e953e7.
David Luzar 5 years ago
parent
commit
edd54d93b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/App.tsx

+ 1 - 1
src/components/App.tsx

@@ -1626,7 +1626,7 @@ export class App extends React.Component<any, AppState> {
       if (element.type === "selection") {
         this.setState({
           selectionElement: element,
-          draggingElement: hitElement ? hitElement : element,
+          draggingElement: element,
         });
       } else {
         globalSceneState.replaceAllElements([