fix: nested component layout invalidation
This commit is contained in:
parent
d19858bce8
commit
85e92d9e22
1 changed files with 4 additions and 0 deletions
|
|
@ -149,6 +149,8 @@ where
|
||||||
)
|
)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
local_shell.with_invalid_layout(|| shell.invalidate_layout());
|
||||||
|
|
||||||
if !local_messages.is_empty() {
|
if !local_messages.is_empty() {
|
||||||
let mut component = self
|
let mut component = self
|
||||||
.state
|
.state
|
||||||
|
|
@ -373,6 +375,8 @@ where
|
||||||
})
|
})
|
||||||
.unwrap_or_else(|| iced_native::event::Status::Ignored);
|
.unwrap_or_else(|| iced_native::event::Status::Ignored);
|
||||||
|
|
||||||
|
local_shell.with_invalid_layout(|| shell.invalidate_layout());
|
||||||
|
|
||||||
if !local_messages.is_empty() {
|
if !local_messages.is_empty() {
|
||||||
let mut component =
|
let mut component =
|
||||||
self.instance.state.take().unwrap().into_heads().component;
|
self.instance.state.take().unwrap().into_heads().component;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue