mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-03 00:00:38 +08:00
This commit is contained in:
parent
d799005245
commit
d173240e8b
@ -974,6 +974,7 @@ export class Wnd {
|
|||||||
// 场景:没有打开的文档,点击标签面板打开
|
// 场景:没有打开的文档,点击标签面板打开
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
recordBeforeResizeTop();
|
||||||
const wnd = new Wnd(this.app, direction);
|
const wnd = new Wnd(this.app, direction);
|
||||||
if (direction === this.parent.direction) {
|
if (direction === this.parent.direction) {
|
||||||
this.parent.addWnd(wnd, this.id);
|
this.parent.addWnd(wnd, this.id);
|
||||||
|
@ -71,7 +71,6 @@ export class Layout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
addWnd(child: Wnd, id?: string) {
|
addWnd(child: Wnd, id?: string) {
|
||||||
recordBeforeResizeTop();
|
|
||||||
if (!id) {
|
if (!id) {
|
||||||
this.children.splice(this.children.length, 0, child);
|
this.children.splice(this.children.length, 0, child);
|
||||||
this.element.append(child.element);
|
this.element.append(child.element);
|
||||||
|
Loading…
Reference in New Issue
Block a user