Enable subpixel antialiasing (#256)

This commit is contained in:
Lombra 2021-02-08 16:03:43 +01:00 committed by GitHub
parent 22f576ea60
commit df59f99ec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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,