Commit 586cb11f23ec7cba4403726a638f35287118ae26
Replace deprecated method and update Electron
Christian Bundy committed on 5/2/2018, 3:10:43 PMParent: 399b1970504b9830b9a27953057861e8a6ebfd9b
Files changed
lib/window.js | changed |
package-lock.json | changed |
package.json | changed |
lib/window.js | ||
---|---|---|
@@ -14,9 +14,9 @@ | ||
14 | 14 | var electron = require('electron') |
15 | 15 | var rootView = require(${JSON.stringify(path)}) |
16 | 16 | var h = require('mutant/h') |
17 | 17 | |
18 | - electron.webFrame.setZoomLevelLimits(1, 1) | |
18 | + electron.webFrame.setVisualZoomLevelLimits(1, 1) | |
19 | 19 | |
20 | 20 | var config = ${JSON.stringify(config)} |
21 | 21 | var data = ${JSON.stringify(opts.data)} |
22 | 22 | var title = ${JSON.stringify(opts.title || 'Patchwork')} |
package-lock.json | ||
---|---|---|
The diff is too large to show. Use a local git client to view these changes. Old file size: 300979 bytes New file size: 300979 bytes |
Built with git-ssb-web