added commentator stuff, general code cleanup and better formatting, some deprecated code removed

This commit is contained in:
Tercio Jose
2024-07-09 12:47:24 -03:00
committed by andrew6180
parent af3477354a
commit 00f04959cb
20 changed files with 1602 additions and 1596 deletions
+4 -3
View File
@@ -3,9 +3,10 @@ local Details = _G.Details
local addonName, Details222 = ...
local _
local debugmode = false
Details222.Debug.MythicPlusChartWindowDebug = false
local verbosemode = false
local CreateFrame = CreateFrame
local UIParent = UIParent
@@ -283,7 +284,7 @@ function mythicDungeonCharts.ShowChart()
mythicDungeonCharts.Frame.ChartFrame:Reset()
if (not mythicDungeonCharts.ChartTable) then
if (debugmode) then
if (Details222.Debug.MythicPlusChartWindowDebug) then
--development
if (Details.mythic_plus.last_mythicrun_chart) then
--load the last mythic dungeon run chart
@@ -589,6 +590,6 @@ mythicDungeonCharts.ClassColors = {
["DEMONHUNTER3"] = { r = 0.24, g = 0.09, b = 0.39, colorStr = "ffa330c9" },
};
if (debugmode) then
if (Details222.Debug.MythicPlusChartWindowDebug) then
--C_Timer.After(1, mythicDungeonCharts.ShowChart)
end