Merge pull request #6378 from penpot/elenatorro-10914-fix-children-render-order

🐛 Render children in the correct order
This commit is contained in:
Aitor Moreno 2025-05-06 09:59:59 +02:00 committed by GitHub
commit 3249fb43c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,