From 009d1a41db53216f68c5253f4fc99878ca832a58 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Thu, 2 Apr 2026 22:34:16 +0200 Subject: [PATCH] Include activePanelId in dependency array in App.tsx --- src/app/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";