Invalidate widget tree from Responsive widget
... by introducing a new `invalidate_widgets` method to `Shell`
This commit is contained in:
parent
90c20ac46b
commit
6ab4611a6e
8 changed files with 85 additions and 33 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue