Change Tooltip to support Text only for now
This commit is contained in:
parent
a19f89d3a6
commit
81c75c1524
15 changed files with 171 additions and 302 deletions
|
|
@ -558,15 +558,11 @@ where
|
|||
fn overlay(
|
||||
&mut self,
|
||||
layout: Layout<'_>,
|
||||
overlay_content_bounds: Option<Rectangle>,
|
||||
cursor_position: Point,
|
||||
) -> Option<overlay::Element<'_, Message, Renderer>> {
|
||||
self.elements
|
||||
.iter_mut()
|
||||
.zip(layout.children())
|
||||
.filter_map(|((_, pane), layout)| {
|
||||
pane.overlay(layout, overlay_content_bounds, cursor_position)
|
||||
})
|
||||
.filter_map(|((_, pane), layout)| pane.overlay(layout))
|
||||
.next()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue