cooldown: add option to hide foreign animations

This commit is contained in:
shagu
2020-10-04 18:56:28 +02:00
parent 32dd17fa68
commit 2d78824d06
3 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -81,8 +81,8 @@ pfUI:RegisterModule("cooldown", "vanilla:tbc", function ()
-- hide animation
if this.pfCooldownStyleAnimation == 0 then
this:SetAlpha(0)
else
this:SetAlpha(this:GetParent():GetAlpha())
elseif not this.pfCooldownStyleAnimation and C.appearance.cd.hideanim == "1" then
this:SetAlpha(0)
end
-- print time as text on cooldown frames