Quantcast WoWInterface - View Single Post - focustarget targetting event
View Single Post
01-01-13, 10:44 PM   #3
A Molten Giant
10leej's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2011
Posts: 573
Originally Posted by semlar View Post
Why don't you just modify Adapt to add the border if it's creating the frame?

I guess you could do something like wait for ADDON_LOADED and watch for Adapt, then call

Lua Code:
  1. hooksecurefunc(Adapt, 'CreateModel', function(texture)
  2.   if texture:GetName() ~= "FocusFrameToTPortrait" then return end
  3.   -- do stuff
  4. end)
Cause I'd have to reapply the changes if Gello was to change it
Tweets Website
  Reply With Quote