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:
Héctor Ramón 2023-02-14 06:43:18 +01:00 committed by GitHub
commit 5b5a5b831c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,