mirror of
https://github.com/penpot/penpot.git
synced 2025-05-16 00:26:38 +02:00
🎉 Refactor naming anidated shapes with children for wasm render
This commit is contained in:
parent
7e5115ecd9
commit
c1d213a0cd
5 changed files with 15 additions and 15 deletions
|
@ -84,7 +84,7 @@ pub(crate) fn render_shape_tree(state: &mut State, id: Uuid) {
|
|||
render_single_shape(&mut state.render_state.surface, shape);
|
||||
|
||||
// draw all the children shapes
|
||||
let shape_ids = shape.shapes.clone();
|
||||
let shape_ids = shape.children.clone();
|
||||
for shape_id in shape_ids {
|
||||
render_shape_tree(state, shape_id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue