Quantcast
Cooldown frame overflow - WoWInterface
Thread Tools Display Modes
09-12-15, 05:56 PM   #1
Benalish
A Theradrim Guardian
 
Benalish's Avatar
Join Date: Dec 2012
Posts: 60
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

WoWInterface » Developer Discussions » Lua/XML Help » Cooldown frame overflow

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off