From 1188a2d9f7372c85bdbb40432783007b56da9809 Mon Sep 17 00:00:00 2001 From: Yuya Ochiai Date: Sat, 4 Mar 2017 00:15:52 +0900 Subject: [PATCH] Fix blur in HiDPI environment of Windows This reverts #384 (f60d1fe0e4cc2664bec246dfc58132e49ab524b3). Blur was a known side effect of #384 though, the original problem looks fixed in electron v1.6.1. --- src/main.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main.js b/src/main.js index d52aa23f..bd336363 100644 --- a/src/main.js +++ b/src/main.js @@ -68,12 +68,6 @@ const assetsDir = path.resolve(app.getAppPath(), 'assets'); // be closed automatically when the JavaScript object is garbage collected. var mainWindow = null; -// Fix confused cursor in HiDPI -// https://github.com/electron/electron/issues/7655#issuecomment-259688853 -if (process.platform === 'win32') { - app.commandLine.appendSwitch('enable-use-zoom-for-dsf', 'false'); -} - var argv = require('yargs').parse(process.argv.slice(1)); const electronConnect = argv.livereload ? require('electron-connect') : null;