TBC issues with lib open raid

This commit is contained in:
Tercio Jose
2022-05-04 19:28:12 -03:00
parent 3d2dea9086
commit 51030c5ef8
7 changed files with 33 additions and 21 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
local Details = _G.Details
local DF = _G.DetailsFramework
local openRaidLib = LibStub:GetLibrary("LibOpenRaid-1.0")
local openRaidLib = LibStub:GetLibrary("LibOpenRaid-1.0", true)
--namespace
Details.CooldownTracking = {}
+12 -10
View File
@@ -2284,16 +2284,18 @@ local icon_frame_on_enter = function (self)
end
else
local dungeonPlayerInfo = C_PlayerInfo.GetPlayerMythicPlusRatingSummary(actorName)
if (dungeonPlayerInfo) then
local currentScore = dungeonPlayerInfo.currentSeasonScore or 0
if (currentScore > 0) then
GameCooltip:AddLine("M+ Score:", currentScore, 1, "white")
GameCooltip:AddIcon ([[]], 1, 1, 1, 20)
_detalhes:AddTooltipBackgroundStatusbar()
height = height + 19 --frame height
end
end
if (WOW_PROJECT_ID == WOW_PROJECT_MAINLINE and C_PlayerInfo) then --is retail?
local dungeonPlayerInfo = C_PlayerInfo.GetPlayerMythicPlusRatingSummary(actorName)
if (dungeonPlayerInfo) then
local currentScore = dungeonPlayerInfo.currentSeasonScore or 0
if (currentScore > 0) then
GameCooltip:AddLine("M+ Score:", currentScore, 1, "white")
GameCooltip:AddIcon ([[]], 1, 1, 1, 20)
_detalhes:AddTooltipBackgroundStatusbar()
height = height + 19 --frame height
end
end
end
end
--dps
+2 -2
View File
@@ -1625,10 +1625,10 @@ do
desc = Loc["STRING_OPTIONS_ALIGNED_TEXT_COLUMNS_OFFSET_DESC"],
},
{type = "blank"},
{type = "breakline"},
{type = "label", get = function() return Loc ["STRING_OPTIONS_TOTALBAR_ANCHOR"] end, text_template = subSectionTitleTextTemplate},
{--enabled
{--total bar enabled
type = "toggle",
get = function() return currentInstance.total_bar.enabled end,
set = function (self, fixedparam, value)