Relayout base layer when layout is invalidated from an overlay
This commit is contained in:
parent
4c98de0a53
commit
296e157dcf
2 changed files with 50 additions and 22 deletions
|
|
@ -31,6 +31,11 @@ impl<'a, Message> Shell<'a, Message> {
|
|||
}
|
||||
}
|
||||
|
||||
/// Returns whether the current layout is invalid or not.
|
||||
pub fn is_layout_invalid(&self) -> bool {
|
||||
self.is_layout_invalid
|
||||
}
|
||||
|
||||
/// Publish the given `Message` for an application to process it.
|
||||
pub fn publish(&mut self, message: Message) {
|
||||
self.messages.push(message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue