General round of fixes, implementations and polishing
- Polished tooltips from damage and healing done. - Added new sound: "Details Truck". - Added 'right click to close' icons before the phrase, also the text is move visible now. - Added ReopenAllWindows() as alias for a Portuguese function named ReabrirTodasInstancias(). - Added a close button for the breakdown options panel. - Added support for mask in the spec icons shown in the regular window. Require to add: Instance.row_info.icon_mas = masktexture. - Event "COMBAT_MYTHICPLUS_OVERALL_READY" now sends the overall mythic+ combat as payload.
This commit is contained in:
@@ -317,6 +317,19 @@ function Details:SetWindowColor(r, g, b, a)
|
||||
colorTable[2] = g
|
||||
colorTable[3] = b
|
||||
colorTable[4] = a
|
||||
|
||||
local instanceTable = Details:GetAllInstances()
|
||||
for _, instance in ipairs(instanceTable) do
|
||||
if (instance:IsEnabled()) then
|
||||
local baseFrame = instance.baseframe
|
||||
local fullWindowFrame = baseFrame.fullWindowFrame
|
||||
if (fullWindowFrame.__rcorners) then
|
||||
if (fullWindowFrame.BottomHorizontalEdge:IsShown()) then
|
||||
fullWindowFrame:SetColor(r, g, b, a)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
---open the breakdown window
|
||||
@@ -870,6 +883,9 @@ function Details:CreateBreakdownWindow()
|
||||
statusBar.Text.fontcolor = fontColor
|
||||
end
|
||||
|
||||
local rightClickToCloseLabel = Details:CreateRightClickToCloseLabel(statusBar)
|
||||
rightClickToCloseLabel:SetPoint("right", -332, 4)
|
||||
|
||||
--set default text
|
||||
breakdownWindowFrame:SetStatusbarText()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user