diff --git a/src/app/App.tsx b/src/app/App.tsx index 8debfed2..cff0d6fa 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -1274,7 +1274,7 @@ export function App({ store, initialStatusMessage }: AppProps) { return () => { window.removeEventListener("keydown", handleWindowKeyDown); }; - }, [editorState.selection, editorState.toolMode, brushList.length, entityList.length]); + }, [activePanelId, editorState.selection, editorState.toolMode, brushList.length, entityList.length]); const applySceneName = () => { const normalizedName = sceneNameDraft.trim() || "Untitled Scene";