From 36b474c2aa1359691e640923200bb4d13458b493 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 7 Apr 2026 07:35:03 +0200 Subject: [PATCH] Add onBlur event handler for interaction links in App.tsx --- src/app/App.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index 672643b2..460636a7 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -2961,7 +2961,7 @@ export function App({ store, initialStatusMessage }: AppProps) { setStatusMessage( `Added a ${actionType === "playSound" ? "play sound" : "stop sound"} link to the selected ${selectedInteractionSource.kind === "triggerVolume" ? "Trigger Volume" : "Interactable"}.` ); - }; + onBlur={() => applyBoxWaterSettings()} const handleDeleteInteractionLink = (linkId: string) => { try { @@ -3200,7 +3200,7 @@ export function App({ store, initialStatusMessage }: AppProps) { trigger: link.trigger, targetEntityId: defaultTarget.id }), - "Switched link action to teleport player." + onBlur={() => applyBoxWaterSettings()} ); return; } @@ -3232,7 +3232,7 @@ export function App({ store, initialStatusMessage }: AppProps) { trigger: link.trigger, targetModelInstanceId: targetModelInstance.id, clipName: firstClip - }), + onBlur={() => applyBoxWaterSettings()} "Switched link action to play animation." ); return;