This commit is contained in:
Nathan Sobo
2023-07-27 23:26:12 -06:00
parent 33e49b4962
commit 239024acd6
3 changed files with 71 additions and 216 deletions
+1 -1
View File
@@ -904,7 +904,7 @@ impl<'a> WindowContext<'a> {
let mut new_parents = HashMap::default();
let mut views_to_notify_if_ancestors_change = HashMap::default();
rendered_root.layout(
SizeConstraint::new(Vector2F::zero(), window_size),
SizeConstraint::new(window_size, window_size),
&mut new_parents,
&mut views_to_notify_if_ancestors_change,
refreshing,