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