View Single Post
09-12-15, 05:56 PM   #1
Benalish
A Flamescale Wyrmkin
 
Benalish's Avatar
Join Date: Dec 2012
Posts: 123
Cooldown frame overflow

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:
  1. local cd = CreateFrame("Cooldown", "mycd", icon, "CooldownFrameTemplate")
  2. 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

Last edited by Benalish : 09-15-15 at 07:13 AM.
  Reply With Quote