Added commit_data calls to other panels.
This commit is contained in:
parent
874bf7fa60
commit
bfec7b81a8
|
@ -1,4 +1,3 @@
|
|||
* Call `commit_data` in other panels.
|
||||
* Figure out why Stack children jumps when transitioning directions.
|
||||
|
||||
# Documentation
|
||||
|
|
|
@ -260,6 +260,7 @@ pub fn node(
|
|||
},
|
||||
|_, _| PxSize::zero(),
|
||||
);
|
||||
cells.commit_data().request_render();
|
||||
|
||||
*final_size = constraints.fill_size_or(grid_size);
|
||||
}
|
||||
|
|
|
@ -725,6 +725,8 @@ impl InlineLayout {
|
|||
}
|
||||
});
|
||||
|
||||
children.commit_data().request_render();
|
||||
|
||||
constraints.clamp_size(PxSize::new(panel_width, panel_height))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue