diff --git a/src/app/App.tsx b/src/app/App.tsx index 80df362f..923ae9b3 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -1520,7 +1520,7 @@ export function App({ store, initialStatusMessage }: AppProps) { window.removeEventListener("pointermove", handleWindowPointerMove); window.removeEventListener("keydown", handleWindowKeyDown); }; - }, [activePanelId, addMenuPosition, brushList.length, editorState.selection, editorState.toolMode, entityList.length, transformSession]); + }, [activePanelId, addMenuPosition, brushList.length, editorState.selection, editorState.toolMode, entityList.length, hoveredViewportPanelId, layoutMode, transformSession]); useEffect(() => { if (layoutMode === "quad" || viewportQuadResizeMode === null) {