Skip to content

Commit

Permalink
additional zero force update, see phetsims/coulombs-law#77
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarlow12 committed Nov 8, 2018
1 parent 0ff69c9 commit d5c3033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/view/ISLCForceArrowNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ define( function( require ) {
updateLabel: function( forceValue, forceValues ) {

if ( forceValues ) {
var forceStr = Util.toFixed( forceValue, forceValue === 0 ? 2 : this.forceReadoutDecimalPlaces );
var forceStr = Util.toFixed( forceValue, this.scientificNotationMode ? 2 : this.forceReadoutDecimalPlaces );

// group values together so that they are easy to read
var pointLocation = forceStr.indexOf( '.' );
Expand Down

0 comments on commit d5c3033

Please sign in to comment.