mirror of
https://github.com/electron/electron.git
synced 2026-01-25 23:38:18 -05:00
Initially set resizable property on Linux
This commit is contained in:
@@ -120,11 +120,11 @@ NativeWindowViews::NativeWindowViews(
|
||||
minimizable_(true) {
|
||||
options.Get(options::kTitle, &title_);
|
||||
options.Get(options::kAutoHideMenuBar, &menu_bar_autohide_);
|
||||
options.Get(options::kResizable, &resizable_);
|
||||
|
||||
#if defined(OS_WIN)
|
||||
// On Windows we rely on the CanResize() to indicate whether window can be
|
||||
// resized, and it should be set before window is created.
|
||||
options.Get(options::kResizable, &resizable_);
|
||||
options.Get(options::kMinimizable, &minimizable_);
|
||||
options.Get(options::kMaximizable, &maximizable_);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user