Does anyone have a working solution to disable all kinds of zooming in electron v0.35.0? (including pinch zoom and smart zoom (on mac))
Add following to render process:
var electron = require('electron');
electron.webFrame.setZoomLevelLimits(1, 1);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.