Add onBlur event handler for interaction links in App.tsx

This commit is contained in:
2026-04-07 07:35:03 +02:00
parent 79dac5911c
commit 36b474c2aa

View File

@@ -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;