Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/Classes/PowerReportListControl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions src/Classes/TreeTab.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1118,6 +1118,7 @@ function TreeTabClass:BuildPowerReportList(currentStat)
x = node.x,
y = node.y,
type = node.type,
sd = node.sd,
pathDist = pathDist
})
end
Expand Down Expand Up @@ -1146,6 +1147,7 @@ function TreeTabClass:BuildPowerReportList(currentStat)
pathPowerStr = "--",
id = node.id,
type = node.type,
sd = node.sd,
pathDist = "Cluster"
})
end
Expand Down
Loading