mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-08 05:32:33 +01:00
💄 帮助展现位置
This commit is contained in:
parent
3b9ae96dbd
commit
a043604e54
3 changed files with 6 additions and 13 deletions
|
|
@ -117,7 +117,7 @@ export const initStatus = () => {
|
|||
}
|
||||
}).element);
|
||||
const rect = target.getBoundingClientRect();
|
||||
window.siyuan.menus.menu.popup({x: rect.right, y: rect.bottom, h: rect.height}, true);
|
||||
window.siyuan.menus.menu.popup({x: rect.right, y: rect.top}, true);
|
||||
event.stopPropagation();
|
||||
break;
|
||||
} else if (target.classList.contains("b3-menu__item")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue