summaryrefslogtreecommitdiffstats
path: root/native/src/widget/row.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/widget/row.rs')
-rw-r--r--native/src/widget/row.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/native/src/widget/row.rs b/native/src/widget/row.rs
index b71663bd..c542aedc 100644
--- a/native/src/widget/row.rs
+++ b/native/src/widget/row.rs
@@ -197,11 +197,19 @@ where
fn overlay(
&mut self,
layout: Layout<'_>,
+ overlay_content_bounds: Option<Rectangle>,
+ cursor_position: Point,
) -> Option<overlay::Element<'_, Message, Renderer>> {
self.children
.iter_mut()
.zip(layout.children())
- .filter_map(|(child, layout)| child.widget.overlay(layout))
+ .filter_map(|(child, layout)| {
+ child.widget.overlay(
+ layout,
+ overlay_content_bounds,
+ cursor_position,
+ )
+ })
.next()
}
}