blob: bd3fdab89a120c45891947c1e7f861dc183f23c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
diff -ura a/lib/main.html b/lib/main.html
--- a/lib/main.html 2018-06-14 04:02:20.000000000 +0200
+++ b/lib/main.html 2018-06-14 08:50:26.059077938 +0200
@@ -115,7 +115,7 @@
<script src="../node_modules/react-redux/dist/react-redux.min.js"></script>
<script type='text/javascript'>
const electron = require('electron')
- electron.webFrame.setZoomLevelLimits(1, 1)
+ electron.webFrame.setVisualZoomLevelLimits(1, 1)
var scriptUrl = window._.find(electron.remote.process.argv, (a) => a === '--hot')
? 'http://localhost:8080/assets/main.js'
: '../compiled/main.js'
diff -ura a/lib/main-window.js b/lib/main-window.js
--- a/lib/main-window.js 2018-06-14 04:02:20.000000000 +0200
+++ b/lib/main-window.js 2018-06-14 08:50:48.442815904 +0200
@@ -17,7 +17,7 @@
autoHideMenuBar: showMenu,
webPreferences: {
zoomFactor: 1.0,
- blinkFeatures: 'OverlayScrollbars'
+ enableBlinkFeatures: 'OverlayScrollbars'
},
icon: path.resolve(__dirname, '../resources/app.png')
})
|