From a6c7b2d6e47ca36c929e6b9a36c9e8420dd6bcb6 Mon Sep 17 00:00:00 2001 From: shagu Date: Tue, 8 Dec 2020 22:31:30 +0100 Subject: [PATCH] cooldown: use gcd threshold for other frames --- modules/cooldown.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/cooldown.lua b/modules/cooldown.lua index f2d74f0a..1c5fd7bc 100644 --- a/modules/cooldown.lua +++ b/modules/cooldown.lua @@ -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)