fix: use tree diff
This commit is contained in:
parent
72db8a013b
commit
85c925241e
3 changed files with 3 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue