We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3e6377 commit 15f7dc6Copy full SHA for 15f7dc6
atom/browser/native_window.cc
@@ -209,7 +209,7 @@ gfx::Size NativeWindow::GetContentSize() {
209
210
void NativeWindow::SetSizeConstraints(
211
const extensions::SizeConstraints& window_constraints) {
212
- extensions::SizeConstraints content_constraints;
+ extensions::SizeConstraints content_constraints(GetContentSizeConstraints());
213
if (window_constraints.HasMaximumSize())
214
content_constraints.set_maximum_size(
215
WindowSizeToContentSize(window_constraints.GetMaximumSize()));
0 commit comments