Merge pull request #53 from vector-im/t3chguy/shortcuts2

Register Mac electron specific Cmd+, shortcut to User Settings
This commit is contained in:
Michael Telatynski 2020-03-20 10:45:09 +00:00 committed by GitHub
commit fc7223511e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,11 @@ const template = [
{ role: 'zoomin', accelerator: 'CommandOrControl+=' },
{ role: 'zoomout' },
{ type: 'separator' },
{
label: 'Preferences',
accelerator: 'Command+,', // Mac-only accelerator
click() { global.mainWindow.webContents.send('preferences'); },
},
{ role: 'togglefullscreen' },
{ role: 'toggledevtools' },
],