Fix rink compilation with Taffy 0.3
This commit is contained in:
1 parent
67d99b3a16
commit
2d40e0a261
2 files changed
+57
-35
No files matched your search
@@ -172,7 +172,7 @@ pub fn render<R: Driver>(
|
||||
.unwrap();
|
||||
|
||||
// the root node fills the entire area
|
||||
let mut style = *taffy.style(root_node).unwrap();
|
||||
let mut style = taffy.style(root_node).unwrap().clone();
|
||||
let new_size = Size {
|
||||
width: Dimension::Points(width),
|
||||
height: Dimension::Points(height),
|
||||
|
||||
Reference in new issue
Block a user