mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
645d7a089f
commit
b434b779bb
1 changed files with 2 additions and 2 deletions
|
|
@ -681,11 +681,11 @@ export const addResize = (obj: Layout | Wnd) => {
|
|||
if (previousNowSize < 8 || nextNowSize < 8) {
|
||||
return;
|
||||
}
|
||||
if (window.siyuan.layout.leftDock?.layout.element.contains(previousElement) &&
|
||||
if (window.siyuan.layout.leftDock?.layout.element.isSameNode(previousElement) &&
|
||||
previousNowSize < getMinSize(previousElement)) {
|
||||
return;
|
||||
}
|
||||
if (window.siyuan.layout.rightDock?.layout.element.contains(nextElement) &&
|
||||
if (window.siyuan.layout.rightDock?.layout.element.isSameNode(nextElement) &&
|
||||
nextNowSize < getMinSize(nextElement)) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue