From 9ca4cdd37f74590f6ff2e4ce85e6d284b87c0bdf Mon Sep 17 00:00:00 2001 From: Divinicus1st <41231829+Divinicus1st@users.noreply.github.com> Date: Fri, 29 May 2026 17:44:40 +0200 Subject: [PATCH 1/2] Fix compare colors - Fix added nodes in compare mode correctly appearing green - Added/Removed node pathing in compare mode changed to teal/pink to distinguish from weapon set 1-2 point pathing (in green/red) --- src/Classes/PassiveTreeView.lua | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Classes/PassiveTreeView.lua b/src/Classes/PassiveTreeView.lua index 2149899ce6..99a30dae15 100644 --- a/src/Classes/PassiveTreeView.lua +++ b/src/Classes/PassiveTreeView.lua @@ -705,12 +705,14 @@ function PassiveTreeViewClass:Draw(build, viewPort, inputEvents) end end + -- Compare added node color if baseState == "Active" and state ~= "Active" then state = "Active" - setConnectorColor(0, 1, 0) + setConnectorColor(0.00, 0.95, 1.00) end + -- Compare removed node color if baseState ~= "Active" and state == "Active" then - setConnectorColor(1, 0, 0) + setConnectorColor(1.00, 0.00, 0.85) end if baseState == "Intermediate" and spec.allocMode > 0 and not connector.ascendancyName then @@ -1057,12 +1059,12 @@ function PassiveTreeViewClass:Draw(build, viewPort, inputEvents) self:DrawAsset(base, scrX, scrY, scale) else - if not self.showHeatMap and not launch.devModeAlt and not node.alloc then + if not self.showHeatMap and not launch.devModeAlt and not node.alloc and not (compareNode and compareNode.alloc) then self:LessLuminance() end self:DrawAsset(base, scrX, scrY, scale) - if not self.showHeatMap and not launch.devModeAlt and not node.alloc then + if not self.showHeatMap and not launch.devModeAlt and not node.alloc and not (compareNode and compareNode.alloc) then SetDrawColor(1, 1, 1, 1); end end @@ -2104,4 +2106,4 @@ function checkUnlockConstraints(build, node) end end return true -end \ No newline at end of file +end From c42cc3a7a5e630221b0a1911af29ff06c5e2a6a5 Mon Sep 17 00:00:00 2001 From: Divinicus1st <41231829+Divinicus1st@users.noreply.github.com> Date: Fri, 29 May 2026 18:04:28 +0200 Subject: [PATCH 2/2] Update PassiveTreeView.lua Fixed comment typo --- src/Classes/PassiveTreeView.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Classes/PassiveTreeView.lua b/src/Classes/PassiveTreeView.lua index 99a30dae15..339201e3fe 100644 --- a/src/Classes/PassiveTreeView.lua +++ b/src/Classes/PassiveTreeView.lua @@ -705,12 +705,12 @@ function PassiveTreeViewClass:Draw(build, viewPort, inputEvents) end end - -- Compare added node color + -- Compare added nodes pathing color if baseState == "Active" and state ~= "Active" then state = "Active" setConnectorColor(0.00, 0.95, 1.00) end - -- Compare removed node color + -- Compare removed node pathing color if baseState ~= "Active" and state == "Active" then setConnectorColor(1.00, 0.00, 0.85) end