🐛 Render children in the correct order

This commit is contained in:
Elena Torro 2025-04-29 13:39:57 +02:00
parent 7eab6a2f1d
commit 9eefe13e8b

View file

@ -734,7 +734,7 @@ impl RenderState {
}
for child_id in children_ids.iter().rev() {
self.pending_nodes.push_back(NodeRenderState {
self.pending_nodes.push_front(NodeRenderState {
id: *child_id,
visited_children: false,
clip_bounds: children_clip_bounds,