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
|
|
@ -1,7 +1,7 @@
|
|||
//! Navigate an endless amount of content with a scrollbar.
|
||||
use crate::{
|
||||
column, layout, mouse, Align, Clipboard, Column, Element, Event, Hasher,
|
||||
Layout, Length, Overlay, Point, Rectangle, Size, Vector, Widget,
|
||||
column, layout, mouse, overlay, Align, Clipboard, Column, Element, Event,
|
||||
Hasher, Layout, Length, Point, Rectangle, Size, Vector, Widget,
|
||||
};
|
||||
|
||||
use std::{f32, hash::Hash, u32};
|
||||
|
|
@ -319,7 +319,7 @@ where
|
|||
fn overlay(
|
||||
&mut self,
|
||||
layout: Layout<'_>,
|
||||
) -> Option<Overlay<'_, Message, Renderer>> {
|
||||
) -> Option<overlay::Element<'_, Message, Renderer>> {
|
||||
let Self { content, state, .. } = self;
|
||||
|
||||
content
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue