mirror of
https://github.com/JulianGro/overte.git
synced 2025-05-27 21:51:13 +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: {
|
onFocusChanged: {
|
||||||
|
if (!HMD.active) return;
|
||||||
if (focus) return ApplicationInterface.showVRKeyboardForHudUI(true);
|
if (focus) return ApplicationInterface.showVRKeyboardForHudUI(true);
|
||||||
ApplicationInterface.showVRKeyboardForHudUI(false);
|
ApplicationInterface.showVRKeyboardForHudUI(false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue