From edd54d93b346117e26ce33e89ba01154123b4fac Mon Sep 17 00:00:00 2001 From: David Luzar Date: Fri, 20 Mar 2020 16:46:06 +0100 Subject: [PATCH] revert #1017 (#1025) This reverts commit 1546c00c0cea1a814f1c59a35d40610a86e953e7. --- src/components/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/App.tsx b/src/components/App.tsx index 4d35c27a..40587128 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -1626,7 +1626,7 @@ export class App extends React.Component { if (element.type === "selection") { this.setState({ selectionElement: element, - draggingElement: hitElement ? hitElement : element, + draggingElement: element, }); } else { globalSceneState.replaceAllElements([