Rename overlay::Content trait to Overlay
The `Overlay` struct is now `overlay::Element`.
This commit is contained in:
parent
ce8cb228ef
commit
1070b61f34
12 changed files with 186 additions and 184 deletions
|
|
@ -70,7 +70,7 @@ pub use text::Text;
|
|||
#[doc(no_inline)]
|
||||
pub use text_input::TextInput;
|
||||
|
||||
use crate::{layout, Clipboard, Event, Hasher, Layout, Length, Overlay, Point};
|
||||
use crate::{layout, overlay, Clipboard, Event, Hasher, Layout, Length, Point};
|
||||
|
||||
/// A component that displays information and allows interaction.
|
||||
///
|
||||
|
|
@ -182,7 +182,7 @@ where
|
|||
fn overlay<'b>(
|
||||
&'b mut self,
|
||||
_layout: Layout<'_>,
|
||||
) -> Option<Overlay<'b, Message, Renderer>> {
|
||||
) -> Option<overlay::Element<'b, Message, Renderer>> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue