summaryrefslogtreecommitdiffstats
path: root/native/src/widget/column.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/widget/column.rs')
-rw-r--r--native/src/widget/column.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/native/src/widget/column.rs b/native/src/widget/column.rs
index e0e88d31..9ee60627 100644
--- a/native/src/widget/column.rs
+++ b/native/src/widget/column.rs
@@ -198,11 +198,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()
}
}