mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-27 10:46:09 +01:00
🚨
This commit is contained in:
parent
69139f530d
commit
990b31dc00
4 changed files with 21 additions and 16 deletions
|
|
@ -88,7 +88,7 @@ const switchDialogEvent = (event: MouseEvent, switchDialog: Dialog) => {
|
|||
};
|
||||
|
||||
export const globalShortcut = () => {
|
||||
document.body.addEventListener("mouseleave", (event) => {
|
||||
document.body.addEventListener("mouseleave", () => {
|
||||
window.siyuan.layout.leftDock.hideDock();
|
||||
window.siyuan.layout.rightDock.hideDock();
|
||||
window.siyuan.layout.bottomDock.hideDock();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue