fix shortcuts v2

This commit is contained in:
yazninja 2022-04-22 09:12:00 +08:00
parent 5154306bae
commit 31bd64d16a

View file

@ -104,7 +104,7 @@ export default class Thumbar {
{type: 'separator'}, {type: 'separator'},
{ {
label: 'Toggle Private Session', label: 'Toggle Private Session',
accelerator: 'CommandOrControl+Shift+P', accelerator: 'CommandOrControl+P',
click: () => this._win.webContents.executeJavaScript(`app.cfg.general.privateEnabled = !app.cfg.general.privateEnabled`) click: () => this._win.webContents.executeJavaScript(`app.cfg.general.privateEnabled = !app.cfg.general.privateEnabled`)
}, },
{type: 'separator'}, {type: 'separator'},
@ -121,7 +121,7 @@ export default class Thumbar {
}, },
{ {
label: 'Plug-in Menu', label: 'Plug-in Menu',
accelerator: 'CommandOrControl+P', accelerator: 'CommandOrControl++Shift+P',
click: () => this._win.webContents.executeJavaScript(`app.modals.pluginMenu = true`) click: () => this._win.webContents.executeJavaScript(`app.modals.pluginMenu = true`)
} }