Merge pull request #1701 from nicksenger/fix/diff-component-operate
Fix panic when using operations with components in certain cases
This commit is contained in:
commit
5b5a5b831c
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue