Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@xescugc
Copy link
Contributor

@xescugc xescugc commented Sep 10, 2024

Ok so this makes the example I wrote work, but I would like @mcarpenter622 to take a deeper look just to check if it's actually accurate or I missed something else totally.

I'll check if this works on my game as it has much more complex ToolTips.

Closes #177

@xescugc
Copy link
Contributor Author

xescugc commented Sep 10, 2024

I've changed the implementation as the one I had did not work for more complex examples (my game) so the current one works and makes much more sense :).

I'll check later for the #162 as I think it's the same so I'll be opening a new PR for that if it's the case.

@xescugc
Copy link
Contributor Author

xescugc commented Sep 10, 2024

This last commit uses the new function in places in which that same logic was repeated, though the function checks parents and the other places did not I think it fits.

If not I can just remove the commit :)

So we do not render ToolTips of hidden parents
@mcarpenter622 mcarpenter622 merged commit cfb03ff into ebitenui:master Sep 21, 2024
@xescugc xescugc deleted the fg-tooltip-fix branch September 23, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Tooltip keeps bgging present after Visibility_Hide of a parent container

2 participants