Reverted SetFullscreenable disabling maximize button on Windows and removed that from the docs.

This commit is contained in:
Heilig Benedek 2016-02-27 03:07:53 +01:00
parent 39bb670719
commit bb0ac688b2
2 changed files with 1 additions and 5 deletions

View file

@ -497,9 +497,6 @@ bool NativeWindowViews::IsMaximizable() {
}
void NativeWindowViews::SetFullScreenable(bool fullscreenable) {
#if defined(OS_WIN)
FlipWindowStyle(GetAcceleratedWidget(), false, WS_MAXIMIZEBOX);
#endif
fullscreenable_ = fullscreenable;
}

View file

@ -59,8 +59,7 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
other windows. Default is `false`.
* `fullscreen` Boolean - Whether the window should show in fullscreen. When
explicity set to `false` the fullscreen button will be hidden or disabled
on OS X, or the maximize button will be disabled on Windows. Default is
`false`.
on OS X. Default is `false`.
* `fullscreenable` Boolean - Whether the maximize/zoom button on OS X should
toggle full screen mode or maximize window. Default is `true`.
* `skipTaskbar` Boolean - Whether to show the window in taskbar. Default is