mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 17:04:20 +02:00
make sure context overlays are on after pal is dismissed
This commit is contained in:
parent
875d0eb815
commit
9c0026bf69
1 changed files with 3 additions and 1 deletions
|
@ -718,10 +718,12 @@ function off() {
|
||||||
triggerPressMapping.disable(); // see above
|
triggerPressMapping.disable(); // see above
|
||||||
removeOverlays();
|
removeOverlays();
|
||||||
Users.requestsDomainListData = false;
|
Users.requestsDomainListData = false;
|
||||||
|
ContextOverlay.enabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function tabletVisibilityChanged() {
|
function tabletVisibilityChanged() {
|
||||||
if (!tablet.tabletShown) {
|
if (!tablet.tabletShown) {
|
||||||
|
ContextOverlay.enabled = true;
|
||||||
tablet.gotoHomeScreen();
|
tablet.gotoHomeScreen();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -865,6 +867,7 @@ function avatarDisconnected(nodeID) {
|
||||||
function clearLocalQMLDataAndClosePAL() {
|
function clearLocalQMLDataAndClosePAL() {
|
||||||
sendToQml({ method: 'clearLocalQMLData' });
|
sendToQml({ method: 'clearLocalQMLData' });
|
||||||
if (onPalScreen) {
|
if (onPalScreen) {
|
||||||
|
ContextOverlay.enabled = true;
|
||||||
tablet.gotoHomeScreen();
|
tablet.gotoHomeScreen();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -885,7 +888,6 @@ function shutdown() {
|
||||||
if (onPalScreen) {
|
if (onPalScreen) {
|
||||||
tablet.gotoHomeScreen();
|
tablet.gotoHomeScreen();
|
||||||
}
|
}
|
||||||
ContextOverlay.enabled = true;
|
|
||||||
button.clicked.disconnect(onTabletButtonClicked);
|
button.clicked.disconnect(onTabletButtonClicked);
|
||||||
tablet.removeButton(button);
|
tablet.removeButton(button);
|
||||||
tablet.screenChanged.disconnect(onTabletScreenChanged);
|
tablet.screenChanged.disconnect(onTabletScreenChanged);
|
||||||
|
|
Loading…
Reference in a new issue