From c5d37a07c8911523f804acfd585e98624fdc0e14 Mon Sep 17 00:00:00 2001 From: David Luzar Date: Fri, 24 Jul 2020 13:29:36 +0200 Subject: [PATCH] fix resize hints not showing due to LayerUI bailing on updates (#1952) --- src/components/LayerUI.tsx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/components/LayerUI.tsx b/src/components/LayerUI.tsx index ee9ee4d84..88eb482ef 100644 --- a/src/components/LayerUI.tsx +++ b/src/components/LayerUI.tsx @@ -547,16 +547,7 @@ const LayerUI = ({ const areEqual = (prev: LayerUIProps, next: LayerUIProps) => { const getNecessaryObj = (appState: AppState): Partial => { - const { - draggingElement, - resizingElement, - multiElement, - editingElement, - isResizing, - cursorX, - cursorY, - ...ret - } = appState; + const { cursorX, cursorY, ...ret } = appState; return ret; }; const prevAppState = getNecessaryObj(prev.appState);