mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-26 14:00:48 +00:00
hide CooldownStyleAnimation fix
hide CooldownStyleAnimation fix
This commit is contained in:
@@ -112,11 +112,9 @@ pfUI:RegisterModule("cooldown", "vanilla:tbc", function ()
|
|||||||
start, duration = 0, 0
|
start, duration = 0, 0
|
||||||
end
|
end
|
||||||
|
|
||||||
-- handle animation visibility
|
-- hide animation
|
||||||
if this.pfCooldownStyleAnimation == 0 then
|
if this.pfCooldownStyleAnimation == 0 then
|
||||||
this:SetAlpha(0)
|
this:SetAlpha(0)
|
||||||
elseif this.pfCooldownStyleAnimation == 1 then
|
|
||||||
this:SetAlpha(1)
|
|
||||||
elseif not this.pfCooldownStyleAnimation and C.appearance.cd.hideanim == "1" then
|
elseif not this.pfCooldownStyleAnimation and C.appearance.cd.hideanim == "1" then
|
||||||
this:SetAlpha(0)
|
this:SetAlpha(0)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user