[MM-62709] Patched electron-context-menu to use WebContentsView, avoid using electron-dl (#3291)

Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
Devin Binnie
2025-01-30 15:36:11 -05:00
committed by GitHub
parent c3657c6318
commit 47cea9a217
2 changed files with 106 additions and 1 deletions

View File

@@ -52,7 +52,7 @@ export default class ContextMenu {
reload = () => {
this.dispose();
const options = {window: this.view.webContents, ...this.menuOptions};
const options = {window: this.view, ...this.menuOptions};
this.menuDispose = electronContextMenu(options);
};
}