summaryrefslogtreecommitdiffstats
path: root/native/src/widget/scrollable.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-10 01:31:56 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-10 01:35:46 +0200
commit1070b61f3408539f6c9cb9d265f3295e6d055db7 (patch)
treea4cb2a93b1f008ca251e2742e812b2bd8b1e41f6 /native/src/widget/scrollable.rs
parentce8cb228ef608b247c8a84f9d3a4a7faff68b355 (diff)
downloadiced-1070b61f3408539f6c9cb9d265f3295e6d055db7.tar.gz
iced-1070b61f3408539f6c9cb9d265f3295e6d055db7.tar.bz2
iced-1070b61f3408539f6c9cb9d265f3295e6d055db7.zip
Rename `overlay::Content` trait to `Overlay`
The `Overlay` struct is now `overlay::Element`.
Diffstat (limited to '')
-rw-r--r--native/src/widget/scrollable.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/native/src/widget/scrollable.rs b/native/src/widget/scrollable.rs
index 87871e28..abd8cfbd 100644
--- a/native/src/widget/scrollable.rs
+++ b/native/src/widget/scrollable.rs
@@ -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