I'm trying to hide spiral cooldown texture on aura icons, but want to remain count text
I use this code
Lua Code:
Auras.PostCreateIcon = function(_, button)
if not button.count then return end
button.count:SetPoint("BOTTOM")
button.count:SetTextColor(1,1,0)
button.count:SetFont(GameFontNormal:GetFont(), 8)
--button.cd:SetAlpha(0)
end
Above code is definitely executed and does not occur errors. But, Nothings changed in the game
I have no idea Why
count objects are not affected by the code above
This set alpha 0 to
count. so Cooldown texts can't be seen also
Lua Code:
button.count:SetParent(button)
Does not help.
How can I edit cooldown count text?