mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-11 15:12:33 +01:00
🚨
This commit is contained in:
parent
c538c0a9e3
commit
52e1cc7957
7 changed files with 12 additions and 12 deletions
|
|
@ -825,10 +825,10 @@ export const globalShortcut = () => {
|
|||
}
|
||||
// protyle.toolbar 点击空白处时进行隐藏
|
||||
if (!hasClosestByClassName(event.target, "protyle-toolbar")) {
|
||||
hideAllElements(["toolbar"])
|
||||
hideAllElements(["toolbar"]);
|
||||
}
|
||||
if (!hasClosestByClassName(event.target, "pdf__outer")) {
|
||||
hideAllElements(["pdfutil"])
|
||||
hideAllElements(["pdfutil"]);
|
||||
}
|
||||
// dock float 时,点击空白处,隐藏 dock
|
||||
const floatDockLayoutElement = hasClosestByClassName(event.target, "layout--float", true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue