Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-31-22, 04:32 AM   #1
Platine
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 72
Question Dragonflight : BuffButton : GameTooltips

In the patch 10.0.0 the handling of the BuffButtonX buttons has changed. When you hover the mouse over an aura button - it is not possible to get the name of this button. Always returns nil.

Code:
GameTooltip:HookScript('OnShow', function(self, ...)
   print("The mouse is over " .. GetMouseFocus():GetName());   -- return nil
   local GTownerName = self:GetOwner():GetName();              -- return nil
   print(GTownerName);   
end );

Is there any other method of detecting that the description displayed in GameTooltips is from the Aura button?

We can use the BuffFrame.AuraContainer:IsMouseOver() function

Last edited by Platine : 10-31-22 at 07:59 AM.
  Reply With Quote
 

WoWInterface » PTR » PTR API and Graphics Changes » Dragonflight : BuffButton : GameTooltips


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off