Skip to content

Commit

Permalink
Convert to Range pass 2, see phetsims/dot#80
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisklus committed Oct 25, 2018
1 parent 73a47da commit 1eefb0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/common/view/ProjectileMotionScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ define( function( require ) {
var metersString = require( 'string!PROJECTILE_MOTION/meters' );
var normalString = require( 'string!PROJECTILE_MOTION/normal' );
var pattern0Value1UnitsWithSpaceString = require( 'string!PROJECTILE_MOTION/pattern0Value1UnitsWithSpace' );
var Range = require( 'DOT/Range' );
var slowString = require( 'string!PROJECTILE_MOTION/slow' );

// constants
Expand All @@ -67,7 +68,7 @@ define( function( require ) {
var TEXT_MAX_WIDTH = ProjectileMotionConstants.PLAY_CONTROLS_TEXT_MAX_WIDTH;
var X_MARGIN = 10;
var Y_MARGIN = 5;
var FLATIRONS_RANGE = { min: 1500, max: 1700 };
var FLATIRONS_RANGE = new Range( 1500, 1700 );

/**
* @param {ProjectileMotionModel} model
Expand Down

0 comments on commit 1eefb0d

Please sign in to comment.