draw border around floating divs

This commit is contained in:
Alessandro Mauri 2024-12-16 17:06:16 +01:00
parent 3a7655a3f0
commit 2e0c6333d3
2 changed files with 5 additions and 1 deletions

View file

@ -120,6 +120,9 @@ fn void! Ctx.force_update(&ctx)
fn void! Ctx.frame_end(&ctx)
{
Elem* root = ctx.get_elem_by_tree_idx(0)!;
root.div.layout = LAYOUT_ROW;
// 1. clear the tree
ctx.tree.prune(0)!;