gui: disable pinch zoom (#189)
This commit is contained in:
parent
7ac3418a5b
commit
0dd0321249
3 changed files with 6 additions and 1 deletions
|
|
@ -49,6 +49,9 @@ module.exports = function(options={}) {
|
|||
})
|
||||
}
|
||||
|
||||
if (options.zoom === false) {
|
||||
window.webContents.setVisualZoomLevelLimits(1, 1)
|
||||
}
|
||||
|
||||
|
||||
window.on('closed', function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue