From 1eefb0d6524dcb9d790a114bf3da5fba6746f97a Mon Sep 17 00:00:00 2001 From: chrisklus Date: Wed, 24 Oct 2018 19:57:28 -0600 Subject: [PATCH] Convert to Range pass 2, see https://github.com/phetsims/dot/issues/80 --- js/common/view/ProjectileMotionScreenView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/common/view/ProjectileMotionScreenView.js b/js/common/view/ProjectileMotionScreenView.js index 5daf6d4a..3c37ab0c 100644 --- a/js/common/view/ProjectileMotionScreenView.js +++ b/js/common/view/ProjectileMotionScreenView.js @@ -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 @@ -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