fix: context menu
Breaking change in Electron 2.0 https://github.com/electron/electron/pull/11968
This commit is contained in:
parent
f62181dbd6
commit
172f5d43fa
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ export function openContextMenu(event, templates = [], canEdit = false, selectio
|
|||
}
|
||||
|
||||
injectDevelopmentTemplate(event, templates);
|
||||
remote.Menu.buildFromTemplate(templates).popup();
|
||||
remote.Menu.buildFromTemplate(templates).popup({});
|
||||
}
|
||||
|
||||
// This function is used for the markdown description on the publish page
|
||||
|
|
Loading…
Reference in a new issue