diff --git a/app/assets/js/uicore.js b/app/assets/js/uicore.js index fdbf205..97ad438 100644 --- a/app/assets/js/uicore.js +++ b/app/assets/js/uicore.js @@ -5,7 +5,11 @@ * modules, excluding dependencies. */ const $ = require('jquery'); -const {remote, shell} = require('electron') +const {remote, shell, webFrame} = require('electron') + +// Disable zoom, needed for darwin. +webFrame.setVisualZoomLevelLimits(1, 1) +webFrame.setLayoutZoomLevelLimits(0, 0) /* jQuery Example $(function(){