From bb63487f0a3eaaf2695ea92258420a609ae8a427 Mon Sep 17 00:00:00 2001 From: Jonathan Olson Date: Tue, 5 Sep 2017 15:06:09 -0600 Subject: [PATCH] Review note, see https://github.com/phetsims/circuit-construction-kit-common/issues/317 --- js/view/BatteryResistanceControl.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/view/BatteryResistanceControl.js b/js/view/BatteryResistanceControl.js index c6f9a53d..5d060193 100644 --- a/js/view/BatteryResistanceControl.js +++ b/js/view/BatteryResistanceControl.js @@ -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' ) ) );