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
|
|
@ -2,7 +2,7 @@
|
|||
use std::hash::Hash;
|
||||
|
||||
use crate::{
|
||||
layout, Align, Clipboard, Element, Event, Hasher, Layout, Length, Overlay,
|
||||
layout, overlay, Align, Clipboard, Element, Event, Hasher, Layout, Length,
|
||||
Point, Widget,
|
||||
};
|
||||
|
||||
|
|
@ -208,7 +208,7 @@ where
|
|||
fn overlay(
|
||||
&mut self,
|
||||
layout: Layout<'_>,
|
||||
) -> Option<Overlay<'_, Message, Renderer>> {
|
||||
) -> Option<overlay::Element<'_, Message, Renderer>> {
|
||||
self.children
|
||||
.iter_mut()
|
||||
.zip(layout.children())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue