mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 19:52:14 -08:00
Fixing default zoom level (darwin).
This commit is contained in:
parent
f257208e2f
commit
2a551f18ba
@ -8,6 +8,7 @@ const $ = require('jquery');
|
|||||||
const {remote, shell, webFrame} = require('electron')
|
const {remote, shell, webFrame} = require('electron')
|
||||||
|
|
||||||
// Disable zoom, needed for darwin.
|
// Disable zoom, needed for darwin.
|
||||||
|
webFrame.setZoomLevel(0)
|
||||||
webFrame.setVisualZoomLevelLimits(1, 1)
|
webFrame.setVisualZoomLevelLimits(1, 1)
|
||||||
webFrame.setLayoutZoomLevelLimits(0, 0)
|
webFrame.setLayoutZoomLevelLimits(0, 0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user