Rename overlay::Content trait to Overlay

The `Overlay` struct is now `overlay::Element`.
This commit is contained in:
Héctor Ramón Jiménez 2020-07-10 01:31:56 +02:00
parent ce8cb228ef
commit 1070b61f34
12 changed files with 186 additions and 184 deletions

View file

@ -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
}
}