Fix keyboard being invoked when not in VR.

Signed-off-by: Armored Dragon <publicmail@armoreddragon.com>
This commit is contained in:
Armored Dragon 2024-07-06 10:26:42 -05:00
parent ce79cc80db
commit c6d2e567f6
No known key found for this signature in database
GPG key ID: C7207ACC3382AD8B

View file

@ -216,6 +216,7 @@ Rectangle {
}
}
onFocusChanged: {
if (!HMD.active) return;
if (focus) return ApplicationInterface.showVRKeyboardForHudUI(true);
ApplicationInterface.showVRKeyboardForHudUI(false);
}