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

Reduce CPU used by progress bar, fixes #123 #127

Closed
wants to merge 1 commit into from
Closed

Reduce CPU used by progress bar, fixes #123 #127

wants to merge 1 commit into from

Conversation

spencerjanssen
Copy link

Even when the build progress bar is not visible it frequently causes
style recalculation events, constantly waking the CPU up. Instead, we
disable the styles when the progress bar is not active.

I wrote the simplest fix that will work. It might be cleaner to actually remove the ide-haskell-progress-bar element when it isn't needed rather than hide it with CSS.

Even when the build progress bar is not visible it frequently causes
style recalculation events, constantly waking the CPU up. Instead, we
disable the styles when the progress bar is not active.
@lierdakil
Copy link
Contributor

I opted for a slightly different solution, which should work. Check v1.3.4. Thanks for catching this!

@lierdakil lierdakil closed this Nov 13, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants