From 1e459db21a503e3579cd35dc6a410c1dee7b768f Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Sun, 25 Jan 2026 08:44:16 +0100 Subject: [PATCH] hide CooldownStyleAnimation fix hide CooldownStyleAnimation fix --- modules/cooldown.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/cooldown.lua b/modules/cooldown.lua index 8d490312..30ee0869 100644 --- a/modules/cooldown.lua +++ b/modules/cooldown.lua @@ -112,11 +112,9 @@ pfUI:RegisterModule("cooldown", "vanilla:tbc", function () start, duration = 0, 0 end - -- handle animation visibility + -- hide animation if this.pfCooldownStyleAnimation == 0 then this:SetAlpha(0) - elseif this.pfCooldownStyleAnimation == 1 then - this:SetAlpha(1) elseif not this.pfCooldownStyleAnimation and C.appearance.cd.hideanim == "1" then this:SetAlpha(0) end @@ -146,4 +144,4 @@ pfUI:RegisterModule("cooldown", "vanilla:tbc", function () local methods = getmetatable(CreateFrame('Cooldown', nil, nil, 'CooldownFrameTemplate')).__index hooksecurefunc(methods, 'SetCooldown', SetCooldown) end -end) +end) \ No newline at end of file