fix: use tree diff

This commit is contained in:
Ashley Wulber 2024-05-30 15:48:51 -04:00 committed by Ashley Wulber
parent 72db8a013b
commit 85c925241e
3 changed files with 3 additions and 3 deletions

View file

@ -132,7 +132,7 @@ impl<
}
fn diff(&mut self, tree: &mut Tree) {
self.container.as_widget_mut().diff(&mut tree.children[0]);
tree.children[0].diff(self.container.as_widget_mut());
}
fn state(&self) -> iced_core::widget::tree::State {