This commit is contained in:
Vanessa 2024-11-23 23:43:20 +08:00
parent 8d20f37198
commit b3f6c40835
2 changed files with 3 additions and 3 deletions

View file

@ -229,7 +229,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
event.stopPropagation();
return true;
} else if (target.classList.contains("av__calc")) {
openCalcMenu(protyle, target);
openCalcMenu(protyle, target, undefined, event.clientX - 64);
event.preventDefault();
event.stopPropagation();
return true;