Fix DPI scaling

This commit is contained in:
Paul Seelman
2020-08-18 00:18:38 -07:00
committed by Max Goodhart
parent 6c64d2b417
commit 83621cec9e

View File

@@ -377,6 +377,9 @@ async function main() {
}
if (require.main === module) {
app.commandLine.appendSwitch('high-dpi-support', 1)
app.commandLine.appendSwitch('force-device-scale-factor', 1)
app
.whenReady()
.then(main)