mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -118,7 +118,7 @@ export const initStatus = () => {
|
||||
}
|
||||
}).element);
|
||||
const rect = target.getBoundingClientRect()
|
||||
window.siyuan.menus.menu.popup({x: rect.right, y: rect.bottom, h: rect.height, w: rect.width});
|
||||
window.siyuan.menus.menu.popup({x: rect.right, y: rect.bottom, h: rect.height}, true);
|
||||
event.stopPropagation();
|
||||
break;
|
||||
} else if (target.classList.contains("b3-menu__item")) {
|
||||
|
||||
@@ -262,7 +262,7 @@ const initBar = () => {
|
||||
}
|
||||
}).element);
|
||||
const rect = target.getBoundingClientRect();
|
||||
window.siyuan.menus.menu.popup({x: rect.left, y: rect.bottom});
|
||||
window.siyuan.menus.menu.popup({x: rect.right, y: rect.bottom}, true);
|
||||
event.stopPropagation();
|
||||
break;
|
||||
} else if (target.id === "toolbarVIP") {
|
||||
|
||||
Reference in New Issue
Block a user