Fix rink compilation with Taffy 0.3

This commit is contained in:
Nico Burns committed 2023-05-17 10:47:31 +01:00
1 parent 67d99b3a16
commit 2d40e0a261
2 files changed
+57 -35

No files matched your search

+1 -1
View File
@@ -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),