mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix resize hints not showing due to LayerUI bailing on updates (#1952)
This commit is contained in:
parent
2d8430593d
commit
c5d37a07c8
1 changed files with 1 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue