diff options
author | 2023-01-30 03:58:16 +0100 | |
---|---|---|
committer | 2023-01-30 03:58:16 +0100 | |
commit | a28bc3eaf05d59ef35ae5c182fa68478356364fd (patch) | |
tree | eedfab962f3ab7acd1a39f87e8cd478b34d74f97 /lazy/src | |
parent | 5176148e75c99c92e542ce1e2d2ba56efeeecbcc (diff) | |
parent | a3bfa0724c5e7fca72231f751619901c71007b13 (diff) | |
download | iced-a28bc3eaf05d59ef35ae5c182fa68478356364fd.tar.gz iced-a28bc3eaf05d59ef35ae5c182fa68478356364fd.tar.bz2 iced-a28bc3eaf05d59ef35ae5c182fa68478356364fd.zip |
Merge pull request #1685 from iced-rs/fix/component-animations
Fix widget-driven animations for `Component`
Diffstat (limited to 'lazy/src')
-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(); |