Thread: oUF_Phanx edit
View Single Post
05-13-13, 09:31 AM   #14
lynce
A Cyclonian
 
lynce's Avatar
Join Date: Jul 2008
Posts: 48
Clearly i'm doing something wrong because the result is not satisfying



Top picture is with the added code, and the bellow picture is original(i use another main border as you can see)
If i did it right, they should have looked the same:P


I basically removed line 317 - "ns.CreateBorder" and added something like this:
Code:
button.overlay:SetTexture("Interface\\AddOns\\oUF_Phanx\\Media\\SimpleSquare")
button.overlay:SetTexCoord(0,0.95,0.05,0.95)
button.overlay.Hide = function(self) self:SetVertexColor(0, 0, 0) end
The border does not seem to be on top of the icon, but inside it. And the size of it is also wrong.
  Reply With Quote