Skip to content

Commit 273077f

Browse files
authored
Show Oracle tooltip image on Oracle nodes (#1564)
1 parent de5de8c commit 273077f

11 files changed

Lines changed: 6 additions & 0 deletions
24.7 KB
Loading
24.7 KB
Loading
24.7 KB
Loading
24.7 KB
Loading
24.7 KB
Loading
24.7 KB
Loading
24.7 KB
Loading
24.7 KB
Loading
24.7 KB
Loading

src/Classes/PassiveTreeView.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,6 +1176,9 @@ function PassiveTreeViewClass:AddNodeName(tooltip, node, build)
11761176
else
11771177
tooltip.tooltipHeader = tooltipMap[node.type] or "UNKNOWN"
11781178
end
1179+
if node.unlockConstraint then
1180+
tooltip.tooltipHeader = "ORACLE_" .. tooltip.tooltipHeader
1181+
end
11791182
local nodeName = node.dn
11801183
if main.showFlavourText then
11811184
nodeName = "^xF8E6CA" .. node.dn

0 commit comments

Comments
 (0)