]> khamidou — GitHub mirrors - electron.git/commitdiff
Address feedback
authorBen Gotow <bengotow@gmail.com>
Thu, 19 Nov 2015 18:04:28 +0000 (10:04 -0800)
committerBen Gotow <bengotow@gmail.com>
Thu, 19 Nov 2015 18:14:14 +0000 (10:14 -0800)
docs/api/browser-window.md

index a78531277e9e932543ad0163a081c1c1c825921e..46b7c96ae594ec33002d029bb9e13780403ff342 100644 (file)
@@ -68,12 +68,14 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
 * `transparent` Boolean - Makes the window [transparent](frameless-window.md).
 * `type` String - Specifies the type of the window, which applies
   additional platform-specific properties.
-  - On Linux, possible types are `desktop`, `dock`, `toolbar`, `splash`, `notification`.
-  - On Mac OS X:
-    - `textured`: Adds metal gradient appearance (NSTexturedBackgroundWindowMask)
-    - `desktop`: Places the window at the desktop background window level (kCGDesktopWindowLevel - 1).
-      Note that the window will not receive focus, keyboard or mouse events, but
-      you can use `globalShortcut` to receive input sparingly.
+  * On Linux, possible types are `desktop`, `dock`, `toolbar`, `splash`,
+    `notification`.
+  * On OS X, possible types are `desktop`, `textured`. The `textured` type adds
+    metal gradient appearance (NSTexturedBackgroundWindowMask). The `desktop`
+    type places the window at the desktop background window level
+    (kCGDesktopWindowLevel - 1). Note that desktop window will not receive focus,
+    keyboard or mouse events, but you can use `globalShortcut` to receive input
+    sparingly.
 * `titleBarStyle` String, OS X - specifies the style of window title bar.
   This option is supported on OS X 10.10 Yosemite and newer. There are three
   possible values: