View Single Post
Unread 01-01-13, 10:44 PM   #3
10leej
A Firelord
 
10leej's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2011
Posts: 463
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
10leej is online now   Reply With Quote