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

Pie chart wrong color when thermal is only energy #52

Closed
KatieWoe opened this issue Jan 9, 2019 · 1 comment
Closed

Pie chart wrong color when thermal is only energy #52

KatieWoe opened this issue Jan 9, 2019 · 1 comment
Assignees
Labels

Comments

@KatieWoe
Copy link
Contributor

KatieWoe commented Jan 9, 2019

For phetsims/qa#226. @samreid noted that when webgl is false, this issue does not appear. If thermal energy is the only energy present, then the pie chart looks as if there is negative PE. This means the chart has a dashed border and is the color of total energy. To see this, go to the Playground screen, turn on the graphs, and drop the skater to the ground from some height. When she hits the ground the thermal energy will be all that is left. Also happens in ESPB.

?webgl=false:
image
?webgl=true:
image 1

@jessegreenberg
Copy link
Contributor

This was specific to this sim after changes for representing negative energies with the pie chart. Not a general WebGL bug. Fixed in the above commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants