mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
This commit is contained in:
parent
69371f5a72
commit
c1bf8bf04f
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ const hidePopover = (event: MouseEvent & { path: HTMLElement[] }) => {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const avPanelElement = hasClosestByClassName(target, "av__panel");
|
const avPanelElement = hasClosestByClassName(target, "av__panel") || hasClosestByClassName(target, "av__mask");
|
||||||
if (avPanelElement) {
|
if (avPanelElement) {
|
||||||
// 浮窗上点击 av 操作,浮窗不能消失
|
// 浮窗上点击 av 操作,浮窗不能消失
|
||||||
const blockPanel = window.siyuan.blockPanels.find((item) => {
|
const blockPanel = window.siyuan.blockPanels.find((item) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue