mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
cooldown: allow gcd disabled timers to reset duration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user