Stupid Electron behavior causes app to crash if Alt+Meta+I is a context menu accelerator (#1169)

closes #1152
This commit is contained in:
Evan Simkowitz 2024-10-30 13:54:36 -07:00 committed by GitHub
parent a170e2c80c
commit 17adf7b2c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,7 +118,7 @@ function getAppMenu(callbacks: AppMenuCallbacks): Electron.Menu {
}, },
]; ];
const devToolsAccel = unamePlatform === "darwin" ? "Option+Command+I" : "Alt+Meta+I"; const devToolsAccel = unamePlatform === "darwin" ? "Option+Command+I" : "Alt+Shift+I";
const viewMenu: Electron.MenuItemConstructorOptions[] = [ const viewMenu: Electron.MenuItemConstructorOptions[] = [
{ {
label: "Reload Tab", label: "Reload Tab",