mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 08:48:49 +01:00
This commit is contained in:
parent
2868543c62
commit
da11773b91
1 changed files with 1 additions and 2 deletions
|
|
@ -78,8 +78,7 @@ export const windowMouseMove = (event: MouseEvent & { target: HTMLElement }, mou
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (event.clientY > window.innerHeight - (window.siyuan.config.uiLayout.hideDock ? 42 : 73)) {
|
||||
if (event.clientY > Math.min(window.innerHeight - 10, window.innerHeight - (window.siyuan.config.uiLayout.hideDock ? 0 : 42) - document.querySelector("#status").clientHeight)) {
|
||||
window.siyuan.layout.bottomDock.showDock();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue