diff options
author | 2020-02-17 14:19:13 +0100 | |
---|---|---|
committer | 2020-02-17 14:19:13 +0100 | |
commit | 4f263e4a37602172dcf73728725c467fc0e29843 (patch) | |
tree | 6ec8310144e2f23d800edda06b8e8e605e5a54f8 | |
parent | Merge pull request #383 from dpeukert/patch-1 (diff) | |
parent | Remove deprecated setLayoutZoomLevelLimits() (diff) | |
download | ferdium-app-4f263e4a37602172dcf73728725c467fc0e29843.tar.gz ferdium-app-4f263e4a37602172dcf73728725c467fc0e29843.tar.zst ferdium-app-4f263e4a37602172dcf73728725c467fc0e29843.zip |
Merge pull request #384 from dpeukert/remove-layout-zoom-limits
Remove deprecated setLayoutZoomLevelLimits()
-rw-r--r-- | src/app.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/app.js b/src/app.js index 1c2f66592..d8fa37014 100644 --- a/src/app.js +++ b/src/app.js | |||
@@ -52,7 +52,6 @@ smoothScroll.polyfill(); | |||
52 | 52 | ||
53 | // Basic electron Setup | 53 | // Basic electron Setup |
54 | webFrame.setVisualZoomLevelLimits(1, 1); | 54 | webFrame.setVisualZoomLevelLimits(1, 1); |
55 | webFrame.setLayoutZoomLevelLimits(0, 0); | ||
56 | 55 | ||
57 | window.addEventListener('load', () => { | 56 | window.addEventListener('load', () => { |
58 | const serverApi = new ServerApi(); | 57 | const serverApi = new ServerApi(); |