Ensure blurActiveTextEntry is called before setting selection

This commit is contained in:
2026-03-31 04:41:08 +02:00
parent e6736276f3
commit 22d46edbbe

View File

@@ -523,6 +523,7 @@ export function App({ store, initialStatusMessage }: AppProps) {
source: "outliner" | "viewport" | "inspector" | "runner",
options: { focusViewport?: boolean } = {}
) => {
blurActiveTextEntry();
store.setSelection(selection);
const suffix = source === "outliner" && options.focusViewport ? " and framed it in the viewport" : "";