fix(popup_editor): use cmd on macos

This commit is contained in:
Elian Doran
2025-07-11 22:53:14 +03:00
parent f1fc15e115
commit 91572ab8b9
2 changed files with 2 additions and 2 deletions

View File

@@ -713,7 +713,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
});
} else {
this.$tree.on("contextmenu", ".fancytree-node", (e) => {
if (!e.ctrlKey) {
if (!utils.isCtrlKey(e)) {
this.showContextMenu(e);
} else {
const node = $.ui.fancytree.getNode(e as unknown as Event);