Fix zoom key modifier for windows
Windows uses Ctrl+= istead of Ctrl++ otherwise Seen this fix in the signal app
This commit is contained in:
@@ -89,7 +89,7 @@ const viewMenu: MenuItemConstructorOptions = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Increase size',
|
label: 'Increase size',
|
||||||
accelerator: 'CmdOrCtrl+Plus',
|
accelerator: process.platform === 'darwin' ? 'CmdOrCtrl+Plus' : 'Control+Plus',
|
||||||
click: () => {
|
click: () => {
|
||||||
const window = BrowserWindow.getFocusedWindow()
|
const window = BrowserWindow.getFocusedWindow()
|
||||||
if (window) {
|
if (window) {
|
||||||
|
|||||||
Reference in New Issue
Block a user