From 68abc0c05fd138dfe4d42a9501efc501816bf8b2 Mon Sep 17 00:00:00 2001 From: VooDooS Date: Thu, 17 Oct 2019 11:48:17 +0200 Subject: [PATCH] Add zoomin to electron app --- app/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/main.js b/app/main.js index a685755..a1fccd9 100644 --- a/app/main.js +++ b/app/main.js @@ -43,7 +43,8 @@ function createWindow () { submenu: [ { label: "About Application", selector: "orderFrontStandardAboutPanel:" }, { type: "separator" }, - { label: "Quit", accelerator: "Command+Q", click: function() { app.quit(); }} + { label: "Quit", accelerator: "Command+Q", click: function() { app.quit(); }}, + { role: 'zoomin', accelerator: 'CommandOrControl+=' }, ]}, { label: "Edit", submenu: [