Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit ea12da1

Browse files
author
justjuangui
committed
Increased hover range on Skill Tree nodes
1 parent e21f232 commit ea12da1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Classes/PassiveTree.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,8 +506,9 @@ function PassiveTreeClass:ProcessNode(node)
506506
node.targetSize = self:GetNodeTargetSize(node)
507507
node.overlay = self.nodeOverlay[node.type]
508508
if node.overlay then
509-
node.rsq = node.targetSize.width * node.targetSize.height
510-
node.size = node.targetSize.width
509+
local size = node.targetSize["overlay"] and node.targetSize["overlay"].width or node.targetSize.width
510+
node.rsq = size * size
511+
node.size = size
511512
end
512513

513514
-- Derive the true position of the node

0 commit comments

Comments
 (0)