gui: disable pinch zoom (#189)

This commit is contained in:
jean-emmanuel 2018-03-05 10:49:51 +01:00
parent bcbdc5e56a
commit 475998fe63
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() {