Added option for arena colors

This commit is contained in:
Tercio Jose
2021-05-19 20:23:16 -03:00
parent eba3036d02
commit 4882b39a2c
3 changed files with 37 additions and 6 deletions
+3
View File
@@ -389,6 +389,9 @@ function Details:CreateCurrentDpsFrame(parent, name)
labelYellowTeam_DPS:SetPoint ("right", barFrame.splitBar.widget, "right", -4, 0)
function f.SwapArenaTeamColors()
green_team_color = Details.class_colors.ARENA_GREEN
yellow_team_color = Details.class_colors.ARENA_YELLOW
if (f.PlayerTeam == 0) then
labelPlayerTeam:SetTextColor (unpack (yellow_team_color))
labelYellowTeam:SetTextColor (unpack (green_team_color))