Reverted SetFullscreenable disabling maximize button on Windows and removed that from the docs.
This commit is contained in:
parent
39bb670719
commit
bb0ac688b2
2 changed files with 1 additions and 5 deletions
|
@ -497,9 +497,6 @@ bool NativeWindowViews::IsMaximizable() {
|
|||
}
|
||||
|
||||
void NativeWindowViews::SetFullScreenable(bool fullscreenable) {
|
||||
#if defined(OS_WIN)
|
||||
FlipWindowStyle(GetAcceleratedWidget(), false, WS_MAXIMIZEBOX);
|
||||
#endif
|
||||
fullscreenable_ = fullscreenable;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue