diff options
author | 2021-02-23 03:09:16 +0100 | |
---|---|---|
committer | 2021-02-23 03:09:16 +0100 | |
commit | 81c75c15249b608dd8a6d47e25f96feb10ca68da (patch) | |
tree | cd069025bcda644c2cc5d00750981c927f15950f /native/src/widget/container.rs | |
parent | a19f89d3a6af2804f2ac4e30f6d639b56a9bebfd (diff) | |
download | iced-81c75c15249b608dd8a6d47e25f96feb10ca68da.tar.gz iced-81c75c15249b608dd8a6d47e25f96feb10ca68da.tar.bz2 iced-81c75c15249b608dd8a6d47e25f96feb10ca68da.zip |
Change `Tooltip` to support `Text` only for now
Diffstat (limited to 'native/src/widget/container.rs')
-rw-r--r-- | native/src/widget/container.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/native/src/widget/container.rs b/native/src/widget/container.rs index 2fc6707e..65764148 100644 --- a/native/src/widget/container.rs +++ b/native/src/widget/container.rs @@ -200,14 +200,8 @@ where fn overlay( &mut self, layout: Layout<'_>, - overlay_content_bounds: Option<Rectangle>, - cursor_position: Point, ) -> Option<overlay::Element<'_, Message, Renderer>> { - self.content.overlay( - layout.children().next().unwrap(), - overlay_content_bounds, - cursor_position, - ) + self.content.overlay(layout.children().next().unwrap()) } } |