summaryrefslogtreecommitdiffstats
path: root/lazy
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2023-01-30 03:58:16 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-30 03:58:16 +0100
commita28bc3eaf05d59ef35ae5c182fa68478356364fd (patch)
treeeedfab962f3ab7acd1a39f87e8cd478b34d74f97 /lazy
parent5176148e75c99c92e542ce1e2d2ba56efeeecbcc (diff)
parenta3bfa0724c5e7fca72231f751619901c71007b13 (diff)
downloadiced-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')
-rw-r--r--lazy/src/component.rs4
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();