mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 11:19:51 +02:00
diff minimization
This commit is contained in:
parent
36e843178a
commit
ab3c833dd5
2 changed files with 3 additions and 3 deletions
|
@ -1498,6 +1498,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
|
|||
}
|
||||
|
||||
_connectionMonitor.init();
|
||||
|
||||
// After all of the constructor is completed, then set firstRun to false.
|
||||
firstRun.set(false);
|
||||
}
|
||||
|
@ -1591,7 +1592,6 @@ void Application::toggleMenuUnderReticle() const {
|
|||
offscreenUi->toggleMenu(QPoint(reticlePosition.x - X_LEFT_SHIFT, reticlePosition.y));
|
||||
}
|
||||
|
||||
|
||||
uint64_t lastTabletUIToggle { 0 };
|
||||
const uint64_t toggleTabletUILockout { 500000 };
|
||||
void Application::toggleTabletUI() const {
|
||||
|
|
|
@ -65,7 +65,7 @@ WebTablet = function (url, width, dpi, location, clientOnly) {
|
|||
dimensions: {x: WIDTH, y: HEIGHT, z: DEPTH},
|
||||
parentID: MyAvatar.sessionUUID,
|
||||
parentJointIndex: SENSOR_TO_ROOM_MATRIX
|
||||
};
|
||||
}
|
||||
|
||||
if (location) {
|
||||
tabletProperties.localPosition = location.localPosition;
|
||||
|
@ -104,7 +104,7 @@ WebTablet = function (url, width, dpi, location, clientOnly) {
|
|||
dimensions: {x: 0.05, y: 0.05, z: 0.05},
|
||||
parentID: this.tabletEntityID,
|
||||
script: Script.resolvePath("../tablet-ui/HomeButton.js")
|
||||
}, clientOnly);
|
||||
}, clientOnly);
|
||||
|
||||
setEntityCustomData('grabbableKey', this.homeButtonEntity, {wantsTrigger: true});
|
||||
|
||||
|
|
Loading…
Reference in a new issue