add children on initial build and add sorted slice macro

This commit is contained in:
Evan Almloff committed 2022-04-13 12:49:53 -05:00
1 parent 3b06059834
commit 0fb9aed273
7 files changed
+221 -414

No files matched your search

-1
View File
@@ -30,7 +30,6 @@ pub(crate) fn render_vnode(
}
let Layout { location, size, .. } = layout.layout(node.state.layout.node.unwrap()).unwrap();
// println!("rendering {node:?} {location:?} {size:?}");
let Point { x, y } = location;
let Size { width, height } = size;