Fixed "Time out of combat" after mythic+ and another round of polishing frames and menus

This commit is contained in:
Tercio Jose
2024-03-06 14:50:56 -03:00
parent 9c23a8a8af
commit b7e6b89792
14 changed files with 133 additions and 95 deletions
@@ -263,8 +263,13 @@ Details.PlayerBreakdown.RoundedCornerPreset = {
color = {.1, .1, .1, 0.834},
}
function Details:RefreshWindowColor()
local colorTable = Details.frame_background_color
Details:SetWindowColor(unpack(colorTable))
end
function Details:SetWindowColor(r, g, b, a)
--SetColor implemented by rounded corners, does not save the color, by apply
--SetColor implemented by rounded corners
breakdownWindowFrame:SetColor(r, g, b, a)
breakdownSideMenu:SetColor(r, g, b, a)
@@ -277,6 +282,14 @@ function Details:SetWindowColor(r, g, b, a)
DetailsReportWindow:SetColor(r, g, b, a)
end
if (DetailsAllAttributesFrame) then
DetailsAllAttributesFrame:SetColor(r, g, b, a)
end
if (DetailsSpellBreakdownOptionsPanel) then
DetailsSpellBreakdownOptionsPanel:SetColor(r, g, b, a)
end
local colorTable = Details.frame_background_color
colorTable[1] = r
colorTable[2] = g