mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-06 09:51:14 +08:00
This commit is contained in:
parent
4536c2e734
commit
353cf08fd9
@ -894,7 +894,6 @@ export class Wnd {
|
|||||||
if (this.children.length > window.siyuan.config.fileTree.maxOpenTabCount) {
|
if (this.children.length > window.siyuan.config.fileTree.maxOpenTabCount) {
|
||||||
this.removeOverCounter();
|
this.removeOverCounter();
|
||||||
}
|
}
|
||||||
this.switchTab(tab.headElement);
|
|
||||||
|
|
||||||
const oldWnd = tab.parent;
|
const oldWnd = tab.parent;
|
||||||
if (oldWnd.children.length === 1) {
|
if (oldWnd.children.length === 1) {
|
||||||
@ -922,6 +921,10 @@ export class Wnd {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://github.com/siyuan-note/siyuan/issues/13551
|
||||||
|
this.switchTab(tab.headElement);
|
||||||
|
|
||||||
tab.parent = this;
|
tab.parent = this;
|
||||||
hideAllElements(["toolbar"]);
|
hideAllElements(["toolbar"]);
|
||||||
/// #if !BROWSER
|
/// #if !BROWSER
|
||||||
|
Loading…
Reference in New Issue
Block a user