mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-24 16:04:06 +01:00
🐛 分屏
This commit is contained in:
parent
e38eea5f96
commit
5c27e916bc
2 changed files with 7 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue