🐛 分屏

This commit is contained in:
Vanessa 2022-09-05 12:01:46 +08:00
parent e38eea5f96
commit 5c27e916bc
2 changed files with 7 additions and 2 deletions

View file

@ -127,6 +127,7 @@ const splitSubMenu = (tab: Tab) => {
click: () => {
const newWnd = tab.parent.split("lr");
newWnd.headersElement.append(tab.headElement);
newWnd.headersElement.parentElement.classList.remove("fn__none");
newWnd.moveTab(tab);
}
});
@ -146,6 +147,7 @@ const splitSubMenu = (tab: Tab) => {
click: () => {
const newWnd = tab.parent.split("tb");
newWnd.headersElement.append(tab.headElement);
newWnd.headersElement.parentElement.classList.remove("fn__none");
newWnd.moveTab(tab);
}
});