TBC issues with lib open raid
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user