cooldown: use gcd threshold for other frames

This commit is contained in:
shagu
2020-12-08 22:31:30 +01:00
parent 8c7579ad26
commit a6c7b2d6e4
+5
View File
@@ -86,6 +86,11 @@ pfUI:RegisterModule("cooldown", "vanilla:tbc", function ()
return
end
-- disable GCDs on non pfUI frames
if not this.pfCooldownType and duration < tonumber(C.appearance.cd.threshold) then
return
end
-- hide animation
if this.pfCooldownStyleAnimation == 0 then
this:SetAlpha(0)