fix: diff widget sub-tree after rebuilding component with operation
This commit is contained in:
parent
92ba26b8a1
commit
2201f33c65
1 changed files with 2 additions and 0 deletions
|
|
@ -311,6 +311,8 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
self.with_element(|element| {
|
self.with_element(|element| {
|
||||||
|
tree.diff_children(std::slice::from_ref(&element));
|
||||||
|
|
||||||
element.as_widget().operate(
|
element.as_widget().operate(
|
||||||
&mut tree.children[0],
|
&mut tree.children[0],
|
||||||
layout,
|
layout,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue