This commit is contained in:
Vanessa 2023-02-12 17:24:53 +08:00
parent 1720630619
commit a4ed45dc06
3 changed files with 24 additions and 1 deletions

View file

@ -199,6 +199,8 @@ ${this.position === "Top" ? "top" : "bottom"}:-${this.layout.element.clientHeigh
} else if (this.position === "Bottom") {
this.layout.element.style.bottom = -this.layout.element.clientHeight + "px";
}
this.element.querySelector(".dock__item--activefocus")?.classList.remove("dock__item--activefocus");
this.layout.element.querySelector(".layout__tab--active")?.classList.remove("layout__tab--active");
}
public toggleModel(type: TDockType, show = false, close = false) {