mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-23 12:30:50 +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
|
-- don't draw global cooldowns
|
||||||
if this.pfCooldownType == "NOGCD" and duration < tonumber(C.appearance.cd.threshold) then
|
if this.pfCooldownType == "NOGCD" and duration < tonumber(C.appearance.cd.threshold) then
|
||||||
return
|
start, duration = 0, 0
|
||||||
end
|
end
|
||||||
|
|
||||||
-- disable GCDs on non pfUI frames
|
-- disable GCDs on non pfUI frames
|
||||||
if not this.pfCooldownType and duration < tonumber(C.appearance.cd.threshold) then
|
if not this.pfCooldownType and duration < tonumber(C.appearance.cd.threshold) then
|
||||||
return
|
start, duration = 0, 0
|
||||||
end
|
end
|
||||||
|
|
||||||
-- hide animation
|
-- hide animation
|
||||||
|
|||||||
Reference in New Issue
Block a user