Skip to content

Commit

Permalink
replace RangeWithValue with Range, phetsims/dot#78
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Malley <cmalley@pixelzoom.com>
  • Loading branch information
pixelzoom committed Oct 4, 2018
1 parent f349ee8 commit c338202
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/common/view/RatioNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ define( function( require ) {
var PHScaleColors = require( 'PH_SCALE/common/PHScaleColors' );
var PHScaleConstants = require( 'PH_SCALE/common/PHScaleConstants' );
var PHScaleQueryParameters = require( 'PH_SCALE/common/PHScaleQueryParameters' );
var RangeWithValue = require( 'DOT/RangeWithValue' );
var Range = require( 'DOT/Range' );
var Shape = require( 'KITE/Shape' );
var Text = require( 'SCENERY/nodes/Text' );
var Util = require( 'DOT/Util' );
Expand All @@ -34,7 +34,7 @@ define( function( require ) {
var TOTAL_MOLECULES_AT_PH_7 = 100;
var MAX_MAJORITY_MOLECULES = 3000;
var MIN_MINORITY_MOLECULES = 5; // any non-zero number of particles will be set to this number
var LOG_PH_RANGE = new RangeWithValue( 6, 8 ); // in this range, number of molecule is computed using log
var LOG_PH_RANGE = new Range( 6, 8 ); // in this range, number of molecule is computed using log
var MAJORITY_ALPHA = 0.55; // alpha of the majority species, [0-1], transparent-opaque
var MINORITY_ALPHA = 1.0; // alpha of the minority species, [0-1], transparent-opaque
var H3O_RADIUS = 3;
Expand Down

0 comments on commit c338202

Please sign in to comment.