From ff45fb27f2f6a85103f58c566095fb475cd7d942 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Thu, 20 Feb 2020 15:35:15 +1100 Subject: [PATCH] Set a bg color to the mainwindow Might improve sharpness of font rendering @see https://github.com/electron/electron/blob/master/docs/faq.md#the-font-looks-blurry-what-is-this-and-what-can-i-do --- main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/main.js b/main.js index 3912076af..07cf10bbd 100644 --- a/main.js +++ b/main.js @@ -227,6 +227,7 @@ function createWindow() { minWidth: MIN_WIDTH, minHeight: MIN_HEIGHT, autoHideMenuBar: false, + backgroundColor: '#fff', webPreferences: { nodeIntegration: false, nodeIntegrationInWorker: false,