From c6d2e567f6596315d9955f1d14f3a5b1587aa938 Mon Sep 17 00:00:00 2001 From: Armored Dragon Date: Sat, 6 Jul 2024 10:26:42 -0500 Subject: [PATCH] Fix keyboard being invoked when not in VR. Signed-off-by: Armored Dragon --- scripts/communityScripts/armored-chat/armored_chat.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/communityScripts/armored-chat/armored_chat.qml b/scripts/communityScripts/armored-chat/armored_chat.qml index 2f8670fc6d..8d43d92395 100644 --- a/scripts/communityScripts/armored-chat/armored_chat.qml +++ b/scripts/communityScripts/armored-chat/armored_chat.qml @@ -216,6 +216,7 @@ Rectangle { } } onFocusChanged: { + if (!HMD.active) return; if (focus) return ApplicationInterface.showVRKeyboardForHudUI(true); ApplicationInterface.showVRKeyboardForHudUI(false); }