fix: diff widget sub-tree after rebuilding component with operation

This commit is contained in:
Nick Senger 2023-02-12 11:07:08 -08:00
parent 92ba26b8a1
commit 2201f33c65

View file

@ -311,6 +311,8 @@ where
}
self.with_element(|element| {
tree.diff_children(std::slice::from_ref(&element));
element.as_widget().operate(
&mut tree.children[0],
layout,