diff options
author | 2022-08-26 19:44:22 +0200 | |
---|---|---|
committer | 2022-08-26 19:44:22 +0200 | |
commit | a5209f24e4a997387ffb77c21c103867eca65b1e (patch) | |
tree | 1327a7bb8a3673a9978d733e78efc4500e002f71 /native/src/widget/tooltip.rs | |
parent | da7e8598406fcde2a33ea749d561a2f10dbb5407 (diff) | |
download | iced-a5209f24e4a997387ffb77c21c103867eca65b1e.tar.gz iced-a5209f24e4a997387ffb77c21c103867eca65b1e.tar.bz2 iced-a5209f24e4a997387ffb77c21c103867eca65b1e.zip |
Fix incorrect layout in `mouse_interaction` for `Tooltip`
Diffstat (limited to 'native/src/widget/tooltip.rs')
-rw-r--r-- | native/src/widget/tooltip.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/widget/tooltip.rs b/native/src/widget/tooltip.rs index 667f1812..7ce2aaae 100644 --- a/native/src/widget/tooltip.rs +++ b/native/src/widget/tooltip.rs @@ -159,7 +159,7 @@ where ) -> mouse::Interaction { self.content.as_widget().mouse_interaction( &tree.children[0], - layout.children().next().unwrap(), + layout, cursor_position, viewport, renderer, |