Invalidate widget tree from Responsive widget

... by introducing a new `invalidate_widgets` method to `Shell`
This commit is contained in:
Héctor Ramón Jiménez 2022-01-11 13:47:43 +07:00
parent 90c20ac46b
commit 6ab4611a6e
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
8 changed files with 85 additions and 33 deletions

View file

@ -80,6 +80,10 @@ where
let Internal { content, state } = internal.deref_mut();
if state.last_size != Some(state.last_layout.size()) {
shell.invalidate_widgets();
}
let content = content.resolve(state, renderer);
let content_layout = Layout::with_offset(