Skip to content

Commit

Permalink
energy labels for bar graph are black, see phetsims/griddle#49
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed May 5, 2020
1 parent f57cf17 commit 50f69eb
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions js/common/view/EnergyGraphNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,24 +136,19 @@ function EnergyGraphNode( model, tandem ) {
this.barChartNode = new BarChartNode( [
{
entries: [ aEntry ],
labelString: keString,
labelColor: PhetColorScheme.KINETIC_ENERGY
labelString: keString
},
{
entries: [ bEntry ],
labelString: peGravString,
labelColor: PhetColorScheme.GRAVITATIONAL_POTENTIAL_ENERGY
labelString: peGravString
},
{
entries: [ cEntry ],
labelString: peElasString,
labelColor: PhetColorScheme.ELASTIC_POTENTIAL_ENERGY
labelString: peElasString
},
{
entries: [ dEntry ],
labelString: eThermString,
labelColor: PhetColorScheme.HEAT_THERMAL_ENERGY,
labelNode: clearThermalButton
labelString: eThermString
},
{
entries: [ aEntry, bEntry, cEntry, dEntry ],
Expand Down

0 comments on commit 50f69eb

Please sign in to comment.