Skip to content

Commit

Permalink
Addressed REVIEW: Using unary operator to cast Number type. phetsims/…
Browse files Browse the repository at this point in the history
  • Loading branch information
Denz1994 committed Jan 30, 2019
1 parent 1fab22b commit acfefd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/view/SpringScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ define( function( require ) {
sliderTrackSize: options.sliderTrackSize,
tickLabelSpacing: options.tickLabelSpacing,
constrainValue: function( value ) {
return Util.toFixed( value, 0 );
return +Util.toFixed( value, 0 );
}
}
);
Expand Down

0 comments on commit acfefd0

Please sign in to comment.