diff --git a/src/Classes/PowerReportListControl.lua b/src/Classes/PowerReportListControl.lua index 0b08bdd60f..d33ed88456 100644 --- a/src/Classes/PowerReportListControl.lua +++ b/src/Classes/PowerReportListControl.lua @@ -124,3 +124,15 @@ function PowerReportListClass:GetRowValue(column, index, report) or column == 5 and report.pathPowerStr or "" end + +function PowerReportListClass:AddValueTooltip(tooltip, _, node) + if main.popups[1] then + tooltip:Clear() + return + end + if tooltip:CheckForUpdate(node) and node.sd then + for _, line in ipairs(node.sd) do + tooltip:AddLine(16, line) + end + end +end diff --git a/src/Classes/TreeTab.lua b/src/Classes/TreeTab.lua index 8e16490f57..8f1df2ec20 100644 --- a/src/Classes/TreeTab.lua +++ b/src/Classes/TreeTab.lua @@ -1118,6 +1118,7 @@ function TreeTabClass:BuildPowerReportList(currentStat) x = node.x, y = node.y, type = node.type, + sd = node.sd, pathDist = pathDist }) end @@ -1146,6 +1147,7 @@ function TreeTabClass:BuildPowerReportList(currentStat) pathPowerStr = "--", id = node.id, type = node.type, + sd = node.sd, pathDist = "Cluster" }) end