From df59f99ec649c1f4a75456e1e5a3c0f98de0e9c1 Mon Sep 17 00:00:00 2001 From: Lombra Date: Mon, 8 Feb 2021 16:03:43 +0100 Subject: [PATCH] Enable subpixel antialiasing (#256) --- src/electron/window.main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/electron/window.main.ts b/src/electron/window.main.ts index e34d6f65601..f76010db90d 100644 --- a/src/electron/window.main.ts +++ b/src/electron/window.main.ts @@ -114,6 +114,7 @@ export class WindowMain { icon: process.platform === 'linux' ? path.join(__dirname, '/images/icon.png') : undefined, titleBarStyle: this.hideTitleBar && process.platform === 'darwin' ? 'hiddenInset' : undefined, show: false, + backgroundColor: '#fff', alwaysOnTop: this.enableAlwaysOnTop, webPreferences: { nodeIntegration: true,