fix rendering

This commit is contained in:
Evan Almloff committed 2022-04-13 11:39:38 -05:00
1 parent 628638b9af
commit 3b06059834
11 files changed
+509 -65

No files matched your search

+1
View File
@@ -30,6 +30,7 @@ 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;