From 2a551f18bad61d66642ddb4d676c7e204770f693 Mon Sep 17 00:00:00 2001 From: Daniel Scalzi Date: Thu, 12 Apr 2018 18:39:31 -0400 Subject: [PATCH] Fixing default zoom level (darwin). --- app/assets/js/uicore.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/js/uicore.js b/app/assets/js/uicore.js index 97ad4386..9bfbbd3c 100644 --- a/app/assets/js/uicore.js +++ b/app/assets/js/uicore.js @@ -8,6 +8,7 @@ const $ = require('jquery'); const {remote, shell, webFrame} = require('electron') // Disable zoom, needed for darwin. +webFrame.setZoomLevel(0) webFrame.setVisualZoomLevelLimits(1, 1) webFrame.setLayoutZoomLevelLimits(0, 0)