🐛 dock move
This commit is contained in:
parent
3096776579
commit
ffc397f151
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ ${this.position === "Top" ? "top" : "bottom"}:0`);
|
|||
sourceElement.setAttribute("data-width", "");
|
||||
const type = sourceElement.getAttribute("data-type") as TDockType;
|
||||
const sourceDock = getDockByType(type);
|
||||
if (sourceDock.element.querySelectorAll(".dock__item").length === 2) {
|
||||
if (sourceDock.element.querySelectorAll(".dock__item").length === 1) {
|
||||
sourceDock.element.classList.add("fn__none");
|
||||
}
|
||||
const sourceWnd = sourceDock.layout.children[parseInt(sourceElement.getAttribute("data-index"))] as Wnd;
|
||||
|
|
Loading…
Add table
Reference in a new issue