Merge pull request #1685 from iced-rs/fix/component-animations
Fix widget-driven animations for `Component`
This commit is contained in:
commit
a28bc3eaf0
1 changed files with 4 additions and 0 deletions
|
|
@ -227,6 +227,10 @@ where
|
||||||
|
|
||||||
local_shell.revalidate_layout(|| shell.invalidate_layout());
|
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() {
|
if !local_messages.is_empty() {
|
||||||
let mut heads = self.state.take().unwrap().into_heads();
|
let mut heads = self.state.take().unwrap().into_heads();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue