Disable zooming(pinch or double-tap)?


#1

Disable zooming (both pinch zoom and smart zoom [double tap]) in electron ?


#2
    var WebFrame = require('web-frame');
    WebFrame.setZoomLevelLimits(1,1);

#3

Thanks. That’s working well.