From c8f51743ad8508094859c35aa0d021b4c9861280 Mon Sep 17 00:00:00 2001 From: Continuity Date: Thu, 9 Jul 2020 18:52:13 +0200 Subject: [PATCH] - adding option to surpress tullaCC and OmniCC cooldowns on IconRows --- fw.lua | 2 +- panel.lua | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/fw.lua b/fw.lua index cebd45e..c9af04d 100644 --- a/fw.lua +++ b/fw.lua @@ -1,5 +1,5 @@ -local dversion = 190 +local dversion = 191 local major, minor = "DetailsFramework-1.0", dversion local DF, oldminor = LibStub:NewLibrary (major, minor) diff --git a/panel.lua b/panel.lua index 664ecc9..2833ced 100644 --- a/panel.lua +++ b/panel.lua @@ -5123,6 +5123,7 @@ DF.IconRowFunctions = { cooldownFrame:SetAllPoints() cooldownFrame:EnableMouse (false) cooldownFrame:SetFrameLevel (newIconFrame:GetFrameLevel()+1) + cooldownFrame.noCooldownCount = self.options.surpress_tulla_omni_cc newIconFrame.CountdownText = cooldownFrame:CreateFontString (nil, "overlay", "GameFontNormal") --newIconFrame.CountdownText:SetPoint ("center") @@ -5347,6 +5348,7 @@ local default_icon_row_options = { backdrop_border_color = {0, 0, 0, 1}, anchor = {side = 6, x = 2, y = 0}, grow_direction = 1, --1 = to right 2 = to left + surpress_tulla_omni_cc = false, } function DF:CreateIconRow (parent, name, options)