🎉 Refactor naming anidated shapes with children for wasm render

This commit is contained in:
Alejandro Alonso 2024-11-13 11:48:29 +01:00
parent 7e5115ecd9
commit c1d213a0cd
5 changed files with 15 additions and 15 deletions

View file

@ -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);
}