Introduce Layer trait
This commit is contained in:
parent
c901f40fd6
commit
f064f0482b
12 changed files with 252 additions and 54 deletions
|
|
@ -274,8 +274,9 @@ where
|
|||
|
||||
pub fn overlay(
|
||||
&mut self,
|
||||
) -> Option<Box<dyn Overlay<Message, Renderer> + 'a>> {
|
||||
self.widget.overlay()
|
||||
layout: Layout<'_>,
|
||||
) -> Option<Overlay<'a, Message, Renderer>> {
|
||||
self.widget.overlay(layout)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue