End of mythic+ panel updates, training dummy icon, etc.
- Added a round of polishing into the end of mythic+ panel. - Added: Details:RegisterFrameToColor(frame) the registered frame will use the same color scheme of all the other frames from Details!. - Segments menu will show a different icon for training dummies. - Fixed functions that retrieve information about a dungeon. - Fixed an issue while trying to report using the "Report Results" from the report results tooltip.
This commit is contained in:
+10
-1
@@ -3,6 +3,9 @@ local Details = _G.Details
|
||||
local Loc = LibStub("AceLocale-3.0"):GetLocale("Details")
|
||||
local SharedMedia = LibStub:GetLibrary("LibSharedMedia-3.0")
|
||||
local segmentos = Details.segmentos
|
||||
|
||||
|
||||
---@type detailsframework
|
||||
local gump = Details.gump
|
||||
local _
|
||||
|
||||
@@ -6632,6 +6635,12 @@ local buildSegmentTooltip = function(self, deltaTime)
|
||||
gameCooltip:AddLine(combatName, formattedElapsedTime, 1, "hotpink", "hotpink")
|
||||
gameCooltip:AddIcon(thisCombat:GetCombatIcon(), "main", "left")
|
||||
|
||||
elseif (combatType == DETAILS_SEGMENTTYPE_TRAININGDUMMY) then
|
||||
mythicDungeonRunId = false
|
||||
local combatName, r, g, b = thisCombat:GetCombatName()
|
||||
gameCooltip:AddLine(combatName, formattedElapsedTime, 1, "yellow", "yellow")
|
||||
gameCooltip:AddIcon(thisCombat:GetCombatIcon(), "main", "left")
|
||||
|
||||
elseif (combatType == DETAILS_SEGMENTTYPE_PVP_BATTLEGROUND) then
|
||||
mythicDungeonRunId = false
|
||||
enemyName = thisCombat:GetCombatName()
|
||||
@@ -9232,7 +9241,7 @@ local reportButton_OnEnter = function(self, motion, forced)
|
||||
|
||||
GameCooltip:AddLine(Loc["STRING_REPORT_TOOLTIP"], nil, 1, "white", nil, Details.font_sizes.menus, Details.font_faces.menus)
|
||||
GameCooltip:AddIcon([[Interface\Addons\Details\Images\report_button]], 1, 1, 12, 19)
|
||||
GameCooltip:AddMenu(1, Details.Reportar, instancia, nil, "INSTANCE" .. instancia.meu_id)
|
||||
GameCooltip:AddMenu(1, function() instancia:Reportar("INSTANCE" .. instancia.meu_id) end)
|
||||
|
||||
show_anti_overlap(instancia, self, "top")
|
||||
Details:SetMenuOwner(self, instancia)
|
||||
|
||||
Reference in New Issue
Block a user