mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Small HMD tweaks
This commit is contained in:
parent
d9dc8ebc41
commit
520ceebf5b
1 changed files with 8 additions and 3 deletions
|
@ -40,7 +40,7 @@ StackView {
|
|||
fillDestinations();
|
||||
updateLocationText(false);
|
||||
fillDestinations();
|
||||
addressLine.focus = true;
|
||||
addressLine.focus = !HMD.active;
|
||||
root.parentChanged.connect(center);
|
||||
center();
|
||||
tablet = Tablet.getTablet("com.highfidelity.interface.tablet.system");
|
||||
|
@ -200,8 +200,13 @@ StackView {
|
|||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: {
|
||||
addressLine.focus = true;
|
||||
addressBarDialog.keyboardEnabled = HMD.active;
|
||||
if (!addressLine.focus || !HMD.active) {
|
||||
addressLine.focus = true;
|
||||
addressBarDialog.keyboardEnabled = HMD.active;
|
||||
} else {
|
||||
addressLine.focus = false;
|
||||
addressBarDialog.keyboardEnabled = false;
|
||||
}
|
||||
tabletRoot.playButtonClickSound();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue