From 738aa47547818ebf57dc4f00099386a5a22a86d5 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 1 Feb 2024 01:08:21 +0100 Subject: Remove `position` from `overlay::Element` --- core/src/widget.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/src/widget.rs') diff --git a/core/src/widget.rs b/core/src/widget.rs index d5e2ec6f..51326f12 100644 --- a/core/src/widget.rs +++ b/core/src/widget.rs @@ -15,7 +15,7 @@ use crate::layout::{self, Layout}; use crate::mouse; use crate::overlay; use crate::renderer; -use crate::{Clipboard, Length, Rectangle, Shell, Size}; +use crate::{Clipboard, Length, Rectangle, Shell, Size, Vector}; /// A component that displays information and allows interaction. /// @@ -146,6 +146,7 @@ where _state: &'a mut Tree, _layout: Layout<'_>, _renderer: &Renderer, + _translation: Vector, ) -> Option> { None } -- cgit