mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:47:30 +02:00
fixed some formatting problems
This commit is contained in:
parent
038747e645
commit
8fa80f8935
1 changed files with 0 additions and 10 deletions
|
@ -457,19 +457,9 @@ function onGeometryChanged(rect) {
|
|||
}
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
var TIMEOUT_BEFORE_REHIDE_TOOLBAR_MS = 700;
|
||||
>>>>>>> f360adccbc827bb52dc4a73ebe2c6890e8be039e
|
||||
function onDisplayModeChanged(isHMDMode) {
|
||||
if (isHMDMode) {
|
||||
Camera.setModeString("first person");
|
||||
} else if (Settings.getValue("simplifiedUI/keepExistingUIAndScripts", false)) {
|
||||
// works for now, but not a permanent fix by any means.
|
||||
Script.setTimeout(function () {
|
||||
var toolbar = Toolbars.getToolbar(TOOLBAR_NAME);
|
||||
toolbar.writeProperty("visible", false);
|
||||
}, TIMEOUT_BEFORE_REHIDE_TOOLBAR_MS);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue