Skip to content

Commit

Permalink
create dotRandom and use instead of phet.joist.random, phetsims/joist…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jan 22, 2021
1 parent faad818 commit 3c41182
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/model/ParticleAtom.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import createObservableArray from '../../../axon/js/createObservableArray.js';
import DerivedProperty from '../../../axon/js/DerivedProperty.js';
import dotRandom from '../../../dot/js/dotRandom.js';
import LinearFunction from '../../../dot/js/LinearFunction.js';
import Vector2 from '../../../dot/js/Vector2.js';
import Vector2Property from '../../../dot/js/Vector2Property.js';
Expand Down Expand Up @@ -333,7 +334,7 @@ class ParticleAtom extends PhetioObject {
} );
}
else {
sortedOpenPositions = phet.joist.random.shuffle( openPositions );
sortedOpenPositions = dotRandom.shuffle( openPositions );
}

// Put the inner shell positions in front.
Expand Down

0 comments on commit 3c41182

Please sign in to comment.