chore: use taffy dimension directly
This commit is contained in:
1 parent
2369b0cc7f
commit
62b9a0593f
3 files changed
+59
-87
No files matched your search
@@ -7,6 +7,7 @@ pub struct NodeView<'a> {
|
||||
inner: &'a VNode<'a>,
|
||||
mask: NodeMask,
|
||||
}
|
||||
|
||||
impl<'a> NodeView<'a> {
|
||||
pub fn new(mut vnode: &'a VNode<'a>, view: NodeMask, vdom: &'a VirtualDom) -> Self {
|
||||
if let VNode::Component(sc) = vnode {
|
||||
|
||||
Reference in new issue
Block a user