mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-11 00:26:35 +02:00
turned an else into an else if
This commit is contained in:
parent
53e8051cc2
commit
266c08227f
1 changed files with 2 additions and 2 deletions
|
@ -461,8 +461,8 @@ var TIMEOUT_BEFORE_REHIDE_TOOLBAR_MS = 700
|
|||
function onDisplayModeChanged(isHMDMode) {
|
||||
if (isHMDMode) {
|
||||
Camera.setModeString("first person");
|
||||
} else {
|
||||
//works for now, but not a permanent fix by any means.
|
||||
} 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);
|
||||
|
|
Loading…
Reference in a new issue