View Single Post
05-02-16, 11:55 PM   #2
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 341
Cooldown text is one of the regions of cooldown frame, currently it's the first one, so I "hide" it this way:
Lua Code:
  1. local text = CooldownFrame:GetRegions()
  2. text:SetAlpha(0)

You may try to force hide it, doing something like this to regions normally doesn't cause problems, but I dun remember whether it's a taint-free solution or not. But there's definitely an issue, cuz I dun use it in this case, hehe...
Lua Code:
  1. local text = CooldownFrame:GetRegions()
  2. text:Hide()
  3. text.Show = text.Hide

You may try to re-parent it to a hidden dummy frame.
__________________

Last edited by lightspark : 05-03-16 at 12:05 AM.