rerun tasks in the same order as components
This commit is contained in:
1 parent
277e4677e9
commit
c7ffdc7b29
9 files changed
+335
-178
No files matched your search
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user