diff options
| author | 2023-01-30 03:41:03 +0100 | |
|---|---|---|
| committer | 2023-01-30 03:41:03 +0100 | |
| commit | a3bfa0724c5e7fca72231f751619901c71007b13 (patch) | |
| tree | cfed99a8ceb2ee7a742b9e7bc6633b55db3e6200 | |
| parent | dc6f9f432abaed010ec946d5fdd1dcd70c3bd974 (diff) | |
| download | iced-a3bfa0724c5e7fca72231f751619901c71007b13.tar.gz iced-a3bfa0724c5e7fca72231f751619901c71007b13.tar.bz2 iced-a3bfa0724c5e7fca72231f751619901c71007b13.zip | |
Fix widget-driven animations for `Component`
| -rw-r--r-- | lazy/src/component.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lazy/src/component.rs b/lazy/src/component.rs index d8f21f8a..d3c52df5 100644 --- a/lazy/src/component.rs +++ b/lazy/src/component.rs @@ -227,6 +227,10 @@ where local_shell.revalidate_layout(|| shell.invalidate_layout()); + if let Some(redraw_request) = local_shell.redraw_request() { + shell.request_redraw(redraw_request); + } + if !local_messages.is_empty() { let mut heads = self.state.take().unwrap().into_heads(); |
