Merge pull request #1777 from h3poteto/iss-1755

closes #1755 Set backgroundColor to BrowserWindow to improve sub-pixel anti-aliasing
This commit is contained in:
AkiraFukushima 2020-09-16 21:42:41 +09:00 committed by GitHub
commit 616addd96f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -273,6 +273,7 @@ async function createWindow() {
y: mainWindowState.y, y: mainWindowState.y,
width: mainWindowState.width, width: mainWindowState.width,
height: mainWindowState.height, height: mainWindowState.height,
backgroundColor: '#fff',
useContentSize: true, useContentSize: true,
icon: path.resolve(__dirname, '../../build/icons/256x256.png'), icon: path.resolve(__dirname, '../../build/icons/256x256.png'),
autoHideMenuBar: autoHideMenuBar, autoHideMenuBar: autoHideMenuBar,