mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
fixing desktop login page crash
This commit is contained in:
parent
d38a657c54
commit
c54bce3953
2 changed files with 4 additions and 4 deletions
|
@ -461,7 +461,7 @@ Item {
|
|||
console.log("Create Failed: " + error);
|
||||
if (completeProfileBody.withOculus) {
|
||||
loginErrorMessage.visible = true;
|
||||
loginErrorMessage.text = "Make sure email and username fields are filled out.";
|
||||
loginErrorMessage.text = error;
|
||||
|
||||
if (loginErrorMessageTextMetrics.width > root.bannerWidth && root.isTablet) {
|
||||
loginErrorMessage.wrapMode = Text.WordWrap;
|
||||
|
|
|
@ -29,7 +29,7 @@ FocusScope {
|
|||
|
||||
property var tabletProxy: Tablet.getTablet("com.highfidelity.interface.tablet.system");
|
||||
|
||||
property bool isHMD: false
|
||||
property bool isHMD: HMD.active
|
||||
property bool gotoPreviousApp: false;
|
||||
|
||||
property bool keyboardEnabled: false
|
||||
|
@ -78,7 +78,7 @@ FocusScope {
|
|||
interval: 200
|
||||
|
||||
onTriggered: {
|
||||
if (MenuInterface.isOptionChecked("Use 3D Keyboard") && HMD.active) {
|
||||
if (MenuInterface.isOptionChecked("Use 3D Keyboard") && root.isHMD) {
|
||||
KeyboardScriptingInterface.raised = true;
|
||||
}
|
||||
}
|
||||
|
@ -170,7 +170,7 @@ FocusScope {
|
|||
|
||||
Component.onDestruction: {
|
||||
loginKeyboard.raised = false;
|
||||
if (HMD.active) {
|
||||
if (root.isHMD) {
|
||||
KeyboardScriptingInterface.raised = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue