Merge pull request #1421 from iced-rs/fix/tooltip-mouse-interaction
Fix incorrect layout in `mouse_interaction` for `Tooltip`
This commit is contained in:
commit
94687696aa
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ where
|
||||||
) -> mouse::Interaction {
|
) -> mouse::Interaction {
|
||||||
self.content.as_widget().mouse_interaction(
|
self.content.as_widget().mouse_interaction(
|
||||||
&tree.children[0],
|
&tree.children[0],
|
||||||
layout.children().next().unwrap(),
|
layout,
|
||||||
cursor_position,
|
cursor_position,
|
||||||
viewport,
|
viewport,
|
||||||
renderer,
|
renderer,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue