From 7e542a2b31fd84f6ab86eca9aa5c38437fa590ea Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Tue, 19 Aug 2014 19:34:52 +0200 Subject: [PATCH] Hide the countdown numbers on all auras in WoD --- oUF_P3lim.lua | 6 ++++++ 1 file changed, 6 insertions(+) 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') -- 1.7.9.5