Added commit_data calls to other panels.

This commit is contained in:
Samuel Guerra 2024-01-25 10:34:57 -03:00
parent 874bf7fa60
commit bfec7b81a8
3 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,3 @@
* Call `commit_data` in other panels.
* Figure out why Stack children jumps when transitioning directions.
# Documentation

View File

@ -260,6 +260,7 @@ pub fn node(
},
|_, _| PxSize::zero(),
);
cells.commit_data().request_render();
*final_size = constraints.fill_size_or(grid_size);
}

View File

@ -725,6 +725,8 @@ impl InlineLayout {
}
});
children.commit_data().request_render();
constraints.clamp_size(PxSize::new(panel_width, panel_height))
}