This commit is contained in:
trop[bot] 2018-10-09 09:47:29 -04:00 committed by John Kleinschmidt
parent 6c085cda74
commit 8f743e6fbe
2 changed files with 8 additions and 1 deletions

View file

@ -585,6 +585,7 @@ void NativeWindowViews::SetResizable(bool resizable) {
// both the minimum and maximum size to the window size to achieve it.
if (resizable) {
SetContentSizeConstraints(old_size_constraints_);
SetMaximizable(maximizable_);
} else {
old_size_constraints_ = GetContentSizeConstraints();
resizable_ = false;