Skip to content

Commit

Permalink
Review note, see #317
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Sep 5, 2017
1 parent 3a36cf4 commit bb63487
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/view/BatteryResistanceControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ define( function( require ) {
constrainValue: function( value ) { return Util.roundSymmetric( value ); },
tandem: tandem.createTandem( 'slider' )
} );
//REVIEW*: Use Util.toFixed
slider.addMajorTick( range.min, createLabel( range.min.toFixed( 0 ), tandem.createTandem( 'minLabel' ) ) );
slider.addMajorTick( midpoint );
slider.addMajorTick( range.max, createLabel( range.max.toFixed( 0 ), tandem.createTandem( 'maxLabel' ) ) );
Expand Down

0 comments on commit bb63487

Please sign in to comment.