Total-RP / Total-RP-3

The best roleplaying add-on for World of Warcraft.
http://curse.totalrp.com
Apache License 2.0
34 stars 19 forks source link

Avoid customizing tooltips if GTT is unowned #897

Closed Meorawr closed 1 month ago

Meorawr commented 1 month ago

In 11.0 there's a bug where we can customize tooltips when interacting with the new menus. The cause of this is that in some cases the "mouseover" unit can continue to exist when you go from hovering over a unit frame to any other frame that's not WorldFrame.

In this state, opening a menu that uses tooltips can cause us to sometimes show our tooltip close to the menu itself.

To avoid this - we now only consider there to be an active tooltip unit if GameTooltip is currently an owned frame. This seems to resolve the issue. Not too sure why, but whatevs.