summaryrefslogtreecommitdiffstats
path: root/native/src/widget.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/widget.rs')
-rw-r--r--native/src/widget.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/widget.rs b/native/src/widget.rs
index 4bca7722..11952018 100644
--- a/native/src/widget.rs
+++ b/native/src/widget.rs
@@ -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
}
}