summaryrefslogtreecommitdiffstats
path: root/lazy
diff options
context:
space:
mode:
Diffstat (limited to 'lazy')
-rw-r--r--lazy/src/component.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lazy/src/component.rs b/lazy/src/component.rs
index fd3f6ff7..48ee1d87 100644
--- a/lazy/src/component.rs
+++ b/lazy/src/component.rs
@@ -149,7 +149,7 @@ where
)
});
- local_shell.with_invalid_layout(|| shell.invalidate_layout());
+ local_shell.revalidate_layout(|| shell.invalidate_layout());
if !local_messages.is_empty() {
let mut component = self
@@ -375,7 +375,7 @@ where
})
.unwrap_or_else(|| iced_native::event::Status::Ignored);
- local_shell.with_invalid_layout(|| shell.invalidate_layout());
+ local_shell.revalidate_layout(|| shell.invalidate_layout());
if !local_messages.is_empty() {
let mut component =