Skip to content

Commit

Permalink
Merge pull request #1685 from iced-rs/fix/component-animations
Browse files Browse the repository at this point in the history
Fix widget-driven animations for `Component`
  • Loading branch information
hecrj authored Jan 30, 2023
2 parents 5176148 + a3bfa07 commit a28bc3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lazy/src/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit a28bc3e

Please sign in to comment.