From ca68e85520daeaa429d88fbe71f224ab0bec489c Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Mon, 7 Mar 2016 18:18:40 -0800 Subject: [PATCH] add comments for window options --- main/windows.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/windows.js b/main/windows.js index 8a90ef3f..0a02e445 100644 --- a/main/windows.js +++ b/main/windows.js @@ -18,12 +18,12 @@ function createMainWindow (menu) { var win = windows.main = new electron.BrowserWindow({ autoHideMenuBar: true, // Hide top menu bar unless Alt key is pressed (Windows, Linux) backgroundColor: '#282828', - darkTheme: true, + darkTheme: true, // Forces dark theme (GTK+3 only) minWidth: 375, minHeight: 158, - show: false, + show: false, // Hide window until DOM finishes loading title: config.APP_NAME, - titleBarStyle: 'hidden-inset', + titleBarStyle: 'hidden-inset', // Hide OS chrome, except traffic light buttons (OS X) width: 450, height: 300 })