add trajectory auto mode

This commit is contained in:
Vick Scarlet
2021-11-13 00:30:01 +08:00
parent 54c04f65c2
commit bff0109cc5
17 changed files with 202 additions and 98 deletions

View File

@@ -45,6 +45,7 @@ class UIManager {
// close current view
this.clearAllDialog();
await this.#currentView?.__close?.(view);
await this.#currentView?.close?.(view);
this.#viewLayer.removeChildren();
@@ -54,7 +55,7 @@ class UIManager {
this.#currentView = view;
this.#viewLayer.addChild(view);
view.close = actions?.close;
view.__close = actions?.close;
await actions?.open?.(view);
await view.show?.();
}