cooldown: allow gcd disabled timers to reset duration

This commit is contained in:
shagu
2025-04-21 06:52:21 +02:00
parent 1bcb968137
commit 810fc3ea24
+2 -2
View File
@@ -104,12 +104,12 @@ pfUI:RegisterModule("cooldown", "vanilla:tbc", function ()
-- don't draw global cooldowns
if this.pfCooldownType == "NOGCD" and duration < tonumber(C.appearance.cd.threshold) then
return
start, duration = 0, 0
end
-- disable GCDs on non pfUI frames
if not this.pfCooldownType and duration < tonumber(C.appearance.cd.threshold) then
return
start, duration = 0, 0
end
-- hide animation