mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:35:08 +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() {
|
||||
Script.scriptEnding.connect(cleanup);
|
||||
Window.domainChanged.connect(function () {
|
||||
if (isActive) {
|
||||
tablet.gotoHomeScreen();
|
||||
}
|
||||
that.setActive(false);
|
||||
that.clearEntityList();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue