Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Revert "Revert "don't allow scaling or zooming of the ui""
Browse files Browse the repository at this point in the history
This reverts commit d4258e0.
  • Loading branch information
bbondy committed Jul 26, 2016
1 parent c2ec3ac commit 823dbf0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 823dbf0

Please sign in to comment.