mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-07 06:00:00 +00:00
cooldown: use gcd threshold for other frames
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user