WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Cooldown frame overflow (https://www.wowinterface.com/forums/showthread.php?t=52730)

Benalish 09-12-15 05:56 PM

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


All times are GMT -6. The time now is 11:10 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI