Android - Joystick hidden when opening login and shown after Cancel.

This commit is contained in:
Cristian Luis Duarte 2018-03-09 17:41:05 -03:00
parent 4c3ee195de
commit 3d933e1810
3 changed files with 4 additions and 4 deletions

View file

@ -38,7 +38,8 @@ ModalWindow {
keyboardOverride: true // Disable ModalWindow's keyboard.
function tryDestroy() {
root.destroy()
Controller.setVPadHidden(false);
root.destroy();
}
LoginDialog {
@ -54,6 +55,7 @@ ModalWindow {
this.anchors.centerIn = undefined;
this.y=150;
this.x=(parent.width - this.width)/2;
Controller.setVPadHidden(true);
}
Keys.onPressed: {

View file

@ -224,7 +224,7 @@ Item {
onClicked: {
Qt.inputMethod.hide();
root.destroy();
root.tryDestroy();
}
}
}

View file

@ -115,8 +115,6 @@ module.exports = {
qml: "hifi/avatarSelection.qml",
visible: false
});
/*,
visible: false*/
if (window) {
window.fromQml.connect(fromQml);
}