From 823dbf03a07a19d99546bf8c20d75da03b217802 Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Tue, 26 Jul 2016 13:21:37 -0400 Subject: [PATCH] Revert "Revert "don't allow scaling or zooming of the ui"" This reverts commit d4258e05bf3222bda0f5668b7246960b53221fdf. --- js/entry.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/entry.js b/js/entry.js index 763d8f022e8..18c55d300e1 100644 --- a/js/entry.js +++ b/js/entry.js @@ -33,7 +33,9 @@ const messages = require('./constants/messages') const Immutable = require('immutable') const patch = require('immutablepatch') -webFrame.setZoomLevelLimits(1, 1) +// don't allow scaling or zooming of the ui +webFrame.setPageScaleLimits(1, 1) +webFrame.setZoomLevelLimits(0, 0) // get appStore from url ipc.on(messages.INITIALIZE_WINDOW, (e, disposition, appState, frames, initWindowState) => {