From 0b45a76539a0cd3e4d4883af3f20b6c35d7fb7d7 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 27 Apr 2026 00:31:00 +0200 Subject: [PATCH] Initialize ref for tracking active transform session --- src/app/App.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/App.tsx b/src/app/App.tsx index 1dcadb5d..4c9e530e 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -2201,6 +2201,9 @@ export function App({ store, initialStatusMessage }: AppProps) { const activePanelId = editorState.activeViewportPanelId; const viewportToolPreview = editorState.viewportTransientState.toolPreview; const transformSession = editorState.viewportTransientState.transformSession; + const latestActiveTransformSessionRef = useRef( + null + ); const entityList = getEntityInstances(editorState.document.entities); const entityDisplayList = getSortedEntityDisplayLabels( editorState.document.entities,