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:
commit
616addd96f
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue