Merge 2d7bd62a56
into f964ee1e3a
This commit is contained in:
commit
0281a2e1fd
@ -439,9 +439,13 @@ pub(crate) fn changed_windows(
|
||||
};
|
||||
|
||||
winit_window.set_min_inner_size(Some(min_inner_size));
|
||||
if constraints.max_width.is_finite() && constraints.max_height.is_finite() {
|
||||
winit_window.set_max_inner_size(Some(max_inner_size));
|
||||
}
|
||||
winit_window.set_max_inner_size(
|
||||
if constraints.max_width.is_finite() && constraints.max_height.is_finite() {
|
||||
Some(max_inner_size)
|
||||
} else {
|
||||
None
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
if window.position != cache.position {
|
||||
|
Loading…
Reference in New Issue
Block a user