mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
58dd24564c
commit
b235eb24ad
1 changed files with 2 additions and 2 deletions
|
|
@ -248,7 +248,7 @@ export class Wnd {
|
|||
newWnd.headersElement.append(oldTab.headElement);
|
||||
newWnd.moveTab(oldTab);
|
||||
|
||||
if (dragElement.style.bottom === "auto" && newWnd.element.previousElementSibling && targetWnd.element.parentElement) {
|
||||
if (dragElement.style.bottom === "50%" && newWnd.element.previousElementSibling && targetWnd.element.parentElement) {
|
||||
// 交换位置
|
||||
switchWnd(newWnd, targetWnd);
|
||||
}
|
||||
|
|
@ -258,7 +258,7 @@ export class Wnd {
|
|||
newWnd.headersElement.append(oldTab.headElement);
|
||||
newWnd.moveTab(oldTab);
|
||||
|
||||
if (dragElement.style.right === "auto" && newWnd.element.previousElementSibling && targetWnd.element.parentElement) {
|
||||
if (dragElement.style.right === "50%" && newWnd.element.previousElementSibling && targetWnd.element.parentElement) {
|
||||
// 交换位置
|
||||
switchWnd(newWnd, targetWnd);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue