fix state

This commit is contained in:
Evan Almloff committed 2023-01-01 17:21:34 -06:00
1 parent 3c507479cb
commit 4db3d8ff40
3 files changed
+2 -16

No files matched your search

-1
View File
@@ -65,7 +65,6 @@ impl Pass for TaffyLayout {
>,
ctx: &SendAnyMap,
) -> bool {
println!("running layout pass on node: \n{:#?}", node_view);
let mut changed = false;
let taffy: &Arc<Mutex<Taffy>> = ctx.get().unwrap();
let mut taffy = taffy.lock().expect("poisoned taffy");