Skip to content

Commit

Permalink
- adding option to surpress tullaCC and OmniCC cooldowns on IconRows
Browse files Browse the repository at this point in the history
  • Loading branch information
cont1nuity committed Jul 9, 2020
1 parent 75aa39a commit c8f5174
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fw.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

local dversion = 190
local dversion = 191

local major, minor = "DetailsFramework-1.0", dversion
local DF, oldminor = LibStub:NewLibrary (major, minor)
Expand Down
2 changes: 2 additions & 0 deletions panel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c8f5174

Please sign in to comment.