Hide the countdown numbers on all auras in WoD
Adrian L Lange [08-19-14 - 17:34]
Hide the countdown numbers on all auras in WoD
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index 9f2cdec..4abffc5 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -5,6 +5,8 @@
--]]
+local WoD = select(4, GetBuildInfo()) >= 6e4
+
local _, ns = ...
local oUF = ns.oUF
@@ -103,6 +105,10 @@ local function PostCreateAura(element, button)
button.icon:SetTexCoord(0.08, 0.92, 0.08, 0.92)
button.icon:SetDrawLayer('ARTWORK')
+ if(WoD) then
+ button.cd:SetHideCountdownNumbers(true)
+ end
+
button.count:SetPoint('BOTTOMRIGHT', 2, 1)
button.count:SetFont(FONT, 8, 'OUTLINEMONOCHROME')