removed vtree, contracts on mtree

This commit is contained in:
Alessandro Mauri 2025-10-04 19:58:34 +02:00
parent 01c2fa3367
commit d7cab085f7
5 changed files with 36 additions and 369 deletions

View file

@ -186,7 +186,7 @@ fn PElemTuple? Ctx.get_elem(&ctx, Id id, ElemType type)
elem.type = type;
}
elem.z_index = parent.z_index;
elem.tree_idx = ctx.tree.add(ctx.active_div, id);
elem.tree_idx = ctx.tree.add(ctx.active_div, id)!;
return {elem, parent};
}