This commit is contained in:
Vanessa 2023-01-16 14:52:51 +08:00
parent 607b1571b6
commit fcdc6c0a50
2 changed files with 2 additions and 2 deletions

View file

@ -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") {