diff --git a/core/src/widget.rs b/core/src/widget.rs index 04107482..807b14ac 100644 --- a/core/src/widget.rs +++ b/core/src/widget.rs @@ -97,7 +97,7 @@ where /// Reconciles the [`Widget`] with the provided [`Tree`]. fn diff(&self, tree: &mut Tree) { - tree.diff_children(&[] as &[&dyn Widget]); + tree.children.clear(); } /// Applies an [`Operation`] to the [`Widget`].