mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
fixing toolbar disappering
This commit is contained in:
parent
200f6d540a
commit
ec2d89fd25
2 changed files with 4 additions and 5 deletions
|
@ -3497,8 +3497,6 @@ void Application::setIsInterstitialMode(bool interstitialMode) {
|
|||
bool interstitialModeEnabled = menu->isOptionChecked("Enable Interstitial");
|
||||
if (_interstitialMode != interstitialMode && interstitialModeEnabled) {
|
||||
_interstitialMode = interstitialMode;
|
||||
|
||||
DependencyManager::get<OffscreenUi>()->setPinned(_interstitialMode);
|
||||
emit interstitialModeChanged(_interstitialMode);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -307,7 +307,6 @@
|
|||
|
||||
var THE_PLACE = "hifi://TheSpot-dev";
|
||||
function clickedOnOverlay(overlayID, event) {
|
||||
print(overlayID + " other: " + loadingToTheSpotID);
|
||||
if (loadingToTheSpotID === overlayID) {
|
||||
location.handleLookupString(THE_PLACE);
|
||||
}
|
||||
|
@ -349,8 +348,10 @@
|
|||
Overlays.editOverlay(loadingBarPlacard, properties);
|
||||
Overlays.editOverlay(loadingBarProgress, loadingBarProperties);
|
||||
|
||||
if (physicsEnabled && !HMD.active) {
|
||||
toolbar.writeProperty("visible", true);
|
||||
|
||||
Menu.setIsOptionChecked("Show Overlays", physicsEnabled);
|
||||
if (!HMD.active) {
|
||||
toolbar.writeProperty("visible", physicsEnabled);
|
||||
}
|
||||
|
||||
resetValues();
|
||||
|
|
Loading…
Reference in a new issue