gui: disable pinch zoom (#189)

This commit is contained in:
jean-emmanuel 2018-03-05 10:49:51 +01:00
parent 7ac3418a5b
commit 0dd0321249
3 changed files with 6 additions and 1 deletions

View file

@ -49,6 +49,9 @@ module.exports = function(options={}) {
})
}
if (options.zoom === false) {
window.webContents.setVisualZoomLevelLimits(1, 1)
}
window.on('closed', function() {