rerun tasks in the same order as components

This commit is contained in:
Evan Almloff committed 2024-02-29 11:43:07 -06:00
1 parent 277e4677e9
commit c7ffdc7b29
9 files changed
+335 -178

No files matched your search

+3 -2
View File
@@ -1,4 +1,5 @@
use crate::{innerlude::DirtyScope, virtual_dom::VirtualDom, ScopeId};
use crate::innerlude::ScopeOrder;
use crate::{virtual_dom::VirtualDom, ScopeId};
/// An Element's unique identifier.
///
@@ -74,7 +75,7 @@ impl VirtualDom {
context.height
};
self.dirty_scopes.remove(&DirtyScope { height, id });
self.dirty_scopes.remove(&ScopeOrder::new(height, id));
}
}