Fix right click bookmark bug

This commit is contained in:
siriusXT
2023-09-06 14:49:01 +00:00
parent 40971afe4f
commit 92e43bc051
2 changed files with 4 additions and 1 deletions

View File

@@ -17,6 +17,9 @@ export default class OpenNoteButtonWidget extends OnClickButtonWidget {
}
async launch(evt) {
if (evt.which === 3) {
return;
}
const ctrlKey = utils.isCtrlKey(evt);
if ((evt.which === 1 && ctrlKey) || evt.which === 2) {