mirror of
https://github.com/heyman/heynote.git
synced 2025-08-17 01:51:12 +02:00
Remove loader animation. Fix correct background color according to theme while loading. Set correct color on BrowserWindow to prevent white flash.
This commit is contained in:
@ -48,6 +48,7 @@ async function createWindow() {
|
||||
win = new BrowserWindow({
|
||||
title: 'Main window',
|
||||
icon: join(process.env.PUBLIC, 'favicon.ico'),
|
||||
backgroundColor: nativeTheme.shouldUseDarkColors ? '#262B37' : '#FFFFFF',
|
||||
//titleBarStyle: 'customButtonsOnHover',
|
||||
autoHideMenuBar: true,
|
||||
webPreferences: {
|
||||
|
Reference in New Issue
Block a user