Virtual whiteboard for sketching hand-drawn like diagrams
fix resize hints not showing due to LayerUI bailing on updates (#1952)
David Luzarc5d37a07c891
diff --git a/src/components/LayerUI.tsx b/src/components/LayerUI.tsxindex ee9ee4d84f..88eb482ef9 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<AppState> => {- const {- draggingElement,- resizingElement,- multiElement,- editingElement,- isResizing,- cursorX,- cursorY,- ...ret- } = appState;+ const { cursorX, cursorY, ...ret } = appState;return ret;};const prevAppState = getNecessaryObj(prev.appState);