mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
cleanup
This commit is contained in:
@@ -52,18 +52,12 @@ end
|
||||
function UF:Construct_AuraIcon(button)
|
||||
local offset = UF.thinBorders and E.mult or E.Border
|
||||
|
||||
button.text = button.cd:CreateFontString(nil, "OVERLAY")
|
||||
button.text = button:CreateFontString(nil, "OVERLAY")
|
||||
E:Point(button.text, "CENTER", 1, 1)
|
||||
button.text:SetJustifyH("CENTER")
|
||||
|
||||
E:SetTemplate(button, "Default", nil, nil, UF.thinBorders, true)
|
||||
|
||||
button.cd.noOCC = true
|
||||
button.cd.noCooldownCount = true
|
||||
-- button.cd:SetReverse(true)
|
||||
-- button.cd:SetDrawEdge(true)
|
||||
E:SetInside(button.cd, button, offset, offset)
|
||||
|
||||
E:SetInside(button.icon, button, offset, offset)
|
||||
button.icon:SetTexCoord(unpack(E.TexCoords))
|
||||
button.icon:SetDrawLayer("ARTWORK")
|
||||
@@ -73,7 +67,6 @@ function UF:Construct_AuraIcon(button)
|
||||
button.count:SetJustifyH("RIGHT")
|
||||
|
||||
button.overlay:SetTexture(nil)
|
||||
-- button.stealable:SetTexture(nil)
|
||||
|
||||
button:RegisterForClicks("RightButtonUp")
|
||||
button:SetScript("OnClick", function(self)
|
||||
|
||||
Reference in New Issue
Block a user