Skip to content

Highlight selected Power Report nodes on the passive tree - #10648

Open
AdamZ-8113 wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
AdamZ-8113:feature/power-report-node-highlight
Open

AdamZ-8113 wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
AdamZ-8113:feature/power-report-node-highlight

Conversation

@AdamZ-8113

Copy link
Copy Markdown
Contributor

Description of the problem being solved:

Clicking a row in the Power Report centers the passive tree viewport on that node, but when several nodes are close together, it can still be hard to tell which one you clicked.

This adds a green ring around the selected node.

In the before screenshot you can see that even though the viewport is centered on the skill, it's not centered on the screen itself. Centering the node on the screen itself instead of the viewport doesn't really solve this issue in a nice way either, because then the node is offset from the center of the viewport.

Steps taken to verify a working solution:

  • Manually verified
  • Zoomed out and confirmed the ring stays on the node, and resizes like other highlighted nodes do.
  • Hid the report and confirmed the ring cleared.
  • Ran the full automated test suite. All 928 tests passed.

Link to a build that showcases this PR:

https://pob.codes/b/YvyC_RniP9c

Before screenshot:

image

After screenshot:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant