Quantcast
WoWInterface - View Single Post - Duration text disappeared for some random aura buttons
View Single Post
07-20-17, 01:51 AM   #9
Layback_
An Onyxian Warder
Join Date: Feb 2016
Posts: 356
Just have done some play test with :SetHideCountdownNumbers(false).

Basically it seems like you only need to call that function once per button creation.

So, if you are suffering with same issue, just call :SetHideCountdownNumbers(false) on your overrided CreateIcon function or via callback function, PostCreateIcon.

Lua Code:
  1. local cd = CreateFrame("Cooldown", "$parentCooldown", button, "CooldownFrameTemplate");
  2. cd:SetAllPoints();
  3. cd:SetReverse(true);
  4. cd:SetDrawEdge(true);
  5. cd:SetHideCountdownNumbers(false);
  Reply With Quote