cooldown: add support for omnicc disable flag

This commit is contained in:
shagu
2020-10-04 18:35:03 +02:00
parent b558cf7bc2
commit e192ccc8f3
+5
View File
@@ -60,6 +60,11 @@ pfUI:RegisterModule("cooldown", "vanilla:tbc", function ()
return
end
-- add support for omnicc's disable flag
if this.noCooldownCount then
return
end
-- realign cooldown frames
local parent = this.GetParent and this:GetParent()
if parent and parent:GetWidth() / 36 > 0 then