This commit is contained in:
Vanessa 2023-02-08 14:58:53 +08:00
parent 2a201e8bab
commit 6bc95e9f09
2 changed files with 5 additions and 4 deletions

View file

@ -227,7 +227,7 @@ export const showPopover = async () => {
return true;
}
});
if (!hasPin &&
if (!hasPin && popoverTargetElement.parentElement &&
popoverTargetElement.parentElement.style.opacity !== "0.1" // 反向面板图标拖拽时不应该弹层
) {
window.siyuan.blockPanels.push(new BlockPanel({