mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 05:52:38 +02:00
Fix keyboard being invoked when not in VR.
Signed-off-by: Armored Dragon <publicmail@armoreddragon.com>
This commit is contained in:
parent
ce79cc80db
commit
c6d2e567f6
1 changed files with 1 additions and 0 deletions
|
@ -216,6 +216,7 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
onFocusChanged: {
|
||||
if (!HMD.active) return;
|
||||
if (focus) return ApplicationInterface.showVRKeyboardForHudUI(true);
|
||||
ApplicationInterface.showVRKeyboardForHudUI(false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue