mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
This commit is contained in:
parent
59ff5bd547
commit
056c136bc1
5 changed files with 9 additions and 5 deletions
|
|
@ -742,6 +742,10 @@ export class Wnd {
|
|||
previous.element.style.height = (previous.element.clientHeight + element.clientHeight) + "px";
|
||||
}
|
||||
}
|
||||
// https://github.com/siyuan-note/siyuan/issues/5844
|
||||
if (layout.children.length > 2 && index === 0) {
|
||||
layout.children[1].resize = undefined;
|
||||
}
|
||||
}
|
||||
layout.children.splice(index, 1);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue