Fix: diffing should poproots too
This commit is contained in:
1 parent
09d193d999
commit
93405c2a40
3 files changed
+10
No files matched your search
@@ -426,6 +426,7 @@ impl<'b> DiffState<'b> {
|
||||
self.mutations.push_root(root);
|
||||
let created = self.create_children(new.children);
|
||||
self.mutations.append_children(created as u32);
|
||||
self.mutations.pop_root();
|
||||
}
|
||||
(_, _) => self.diff_children(old.children, new.children),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user