From 37f6a05170eb676bcd846beed2516f80e909657f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Vi=E1=BB=87t=20H=C6=B0ng?= Date: Thu, 24 May 2018 16:48:51 +0700 Subject: [PATCH] added zoom in & zoom out --- lib/main-menu.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/main-menu.js b/lib/main-menu.js index e1e2a83a..9345bd67 100644 --- a/lib/main-menu.js +++ b/lib/main-menu.js @@ -266,6 +266,13 @@ const view = { click () { mainWindow.setFullScreen(!mainWindow.isFullScreen()) } + }, + { + role: 'zoomin', + accelerator: macOS ? 'CommandOrControl+Plus' : 'Control+=' + }, + { + role: 'zoomout' } ] }