mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
mac: Make "standard-window" option default to true
This commit is contained in:
@@ -310,7 +310,7 @@ NativeWindowMac::NativeWindowMac(content::WebContents* web_contents,
|
||||
width,
|
||||
height);
|
||||
|
||||
bool useStandardWindow = false;
|
||||
bool useStandardWindow = true;
|
||||
options.Get(switches::kStandardWindow, &useStandardWindow);
|
||||
|
||||
NSUInteger styleMask = NSTitledWindowMask | NSClosableWindowMask |
|
||||
|
||||
@@ -72,8 +72,8 @@ You can also create a window without chrome by using
|
||||
* `type` String - Specifies the type of the window, possible types are
|
||||
`desktop`, `dock`, `toolbar`, `splash`, `notification`. This only works on
|
||||
Linux.
|
||||
* `standard-window` Boolean - Use the OS X's standard window instead of the
|
||||
textured window. Defaults to `false`.
|
||||
* `standard-window` Boolean - Uses the OS X's standard window instead of the
|
||||
textured window. Defaults to `true`.
|
||||
* `web-preferences` Object - Settings of web page's features
|
||||
* `javascript` Boolean
|
||||
* `web-security` Boolean
|
||||
|
||||
Reference in New Issue
Block a user