From e13b0a2493280c77dca346259b3518023aa34c36 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 22 Jul 2019 22:43:26 +0200 Subject: [PATCH] unitframes: hide cooldown animation on buffs --- api/unitframes.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/unitframes.lua b/api/unitframes.lua index 1b579e13..d0cbc8de 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -572,6 +572,7 @@ function pfUI.uf:UpdateConfig() f.buffs[i].stacks:SetTextColor(1,1,.5) f.buffs[i].cd = f.buffs[i].cd or CreateFrame(COOLDOWN_FRAME_TYPE, nil, f.buffs[i]) f.buffs[i].cd.pfCooldownType = "ALL" + f.buffs[i].cd:SetAlpha(0) f.buffs[i].id = i f.buffs[i]:RegisterForClicks("RightButtonUp") @@ -640,6 +641,7 @@ function pfUI.uf:UpdateConfig() f.debuffs[i].stacks:SetTextColor(1,1,.5) f.debuffs[i].cd = f.debuffs[i].cd or CreateFrame(COOLDOWN_FRAME_TYPE, nil, f.debuffs[i]) f.debuffs[i].cd.pfCooldownType = "ALL" + f.debuffs[i].cd:SetAlpha(0) f.debuffs[i].id = i f.debuffs[i]:RegisterForClicks("RightButtonUp")