I created a button with an icon showing a spell texture. If I hook a cooldown frame created "on the fly" to this button, there is a strange behavior: the cooldown overflow from the button as shown in this screen:
The Cooldown frame is created in this way:
Lua Code:
local cd = CreateFrame("Cooldown", "mycd", icon, "CooldownFrameTemplate")
cd:SetReverse(true)
Where
• icon = the button frame where the cd will be hooked
It's a Cooldown frame bug or is there a way around this problem? SetAllPoints() and SetScale() doesn't work.
Thank you in advance
EDIT: I discovered it's due to Masque Blizzard Skin. When Masque is disable, the cd is displayed well