mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +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
|
||||
removeOverlays();
|
||||
Users.requestsDomainListData = false;
|
||||
ContextOverlay.enabled = true;
|
||||
}
|
||||
|
||||
function tabletVisibilityChanged() {
|
||||
if (!tablet.tabletShown) {
|
||||
ContextOverlay.enabled = true;
|
||||
tablet.gotoHomeScreen();
|
||||
}
|
||||
}
|
||||
|
@ -865,6 +867,7 @@ function avatarDisconnected(nodeID) {
|
|||
function clearLocalQMLDataAndClosePAL() {
|
||||
sendToQml({ method: 'clearLocalQMLData' });
|
||||
if (onPalScreen) {
|
||||
ContextOverlay.enabled = true;
|
||||
tablet.gotoHomeScreen();
|
||||
}
|
||||
}
|
||||
|
@ -885,7 +888,6 @@ function shutdown() {
|
|||
if (onPalScreen) {
|
||||
tablet.gotoHomeScreen();
|
||||
}
|
||||
ContextOverlay.enabled = true;
|
||||
button.clicked.disconnect(onTabletButtonClicked);
|
||||
tablet.removeButton(button);
|
||||
tablet.screenChanged.disconnect(onTabletScreenChanged);
|
||||
|
|
Loading…
Reference in a new issue