mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 16:53:16 +02:00
Merge pull request #12836 from misslivirose/fix/close-create-domain-change
Go to tablet home / close Create menu when changing domains
This commit is contained in:
commit
7f6d210e93
1 changed files with 3 additions and 0 deletions
|
@ -455,6 +455,9 @@ var toolBar = (function () {
|
||||||
function initialize() {
|
function initialize() {
|
||||||
Script.scriptEnding.connect(cleanup);
|
Script.scriptEnding.connect(cleanup);
|
||||||
Window.domainChanged.connect(function () {
|
Window.domainChanged.connect(function () {
|
||||||
|
if (isActive) {
|
||||||
|
tablet.gotoHomeScreen();
|
||||||
|
}
|
||||||
that.setActive(false);
|
that.setActive(false);
|
||||||
that.clearEntityList();
|
that.clearEntityList();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue