refs #1755 Set backgroundColor to BrowserWindow to improve sub-pixel anti-aliasing

This commit is contained in:
AkiraFukushima 2020-09-16 21:39:27 +09:00
parent 03798916c8
commit 5e4e1836b5
1 changed files with 1 additions and 0 deletions

View File

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