Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide the power report on loading a build and unchecking "Show node power" #5932

Merged
merged 2 commits into from
Apr 6, 2023

Conversation

Lilylicious
Copy link
Contributor

Fixes #5903

Description of the problem being solved:

Show node power causes severe lag. For almost all usecases, it should not enable on load. In addition, if show node power is disabled while power report is showing, it would hide the hide power report button, but keep the report open.

This PR removes show node power (showHeatMap) from saves and loads. In addition, it hides the power report when the show node power checkbox is toggled to false.

@QuickStick123 QuickStick123 added the enhancement New feature, calculation, or mod label Apr 5, 2023
@Nostrademous
Copy link
Contributor

LGTM

@Wires77 Wires77 changed the title Node power fixes Hide the power report on loading a build and unchecking "Show node power" Apr 6, 2023
@Wires77 Wires77 merged commit 45b93b3 into PathOfBuildingCommunity:dev Apr 6, 2023
Dullson pushed a commit to Dullson/PathOfBuilding that referenced this pull request Dec 6, 2023
…wer" (PathOfBuildingCommunity#5932)

* Close power report when disabling node power

* Don't save or load show node power
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, calculation, or mod
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hide Power Report button should not vanish if Show Node Power is unchecked
4 participants