mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 01:56:54 +02:00
fix toolbar disappearing
This commit is contained in:
parent
475a3a29ac
commit
31783726a8
1 changed files with 4 additions and 1 deletions
|
@ -327,10 +327,13 @@ FocusScope {
|
||||||
for (var index = 0; index < desktop.visibleChildren.length; index++) {
|
for (var index = 0; index < desktop.visibleChildren.length; index++) {
|
||||||
var child = desktop.visibleChildren[index];
|
var child = desktop.visibleChildren[index];
|
||||||
if (child.topLevelWindow && child.hasOwnProperty("modality")) {
|
if (child.topLevelWindow && child.hasOwnProperty("modality")) {
|
||||||
|
var TOOLBAR_NAME = "com.highfidelity.interface.toolbar.system"
|
||||||
|
if (child.objectName !== TOOLBAR_NAME) {
|
||||||
child.setShown(false);
|
child.setShown(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function setPinned(newPinned) {
|
function setPinned(newPinned) {
|
||||||
pinned = newPinned
|
pinned = newPinned
|
||||||
|
|
Loading…
Reference in a new issue