Skip to content

Commit

Permalink
set initial loading color - fix #38
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanjudis committed Jul 26, 2016
1 parent 16da39c commit 3e49a8e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ ipcMain.on( 'openNewWindow', createWindow );
function openAboutWindow() {
if ( ! aboutWindow ) {
aboutWindow = new BrowserWindow( {
height : 625,
width : 475,
titleBarStyle : 'hidden',
resizable : false
height : 625,
width : 475,
backgroundColor : '#f1f1f1',
titleBarStyle : 'hidden',
resizable : false
} );

aboutWindow.loadURL( config.aboutUrl );
Expand Down Expand Up @@ -76,6 +77,7 @@ function createWindow( event, hash ) {
width : mainWindowState.width,
x : mainWindowState.x,
y : mainWindowState.y,
backgroundColor : '#f1f1f1',
minWidth : 250,
titleBarStyle : 'hidden',
'web-preferences' : {
Expand Down

0 comments on commit 3e49a8e

Please sign in to comment.