Skip to content

Commit

Permalink
atom position property is high frequency, #75
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Sep 16, 2021
1 parent 8efc258 commit 5b09114
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/friction/model/Atom.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ class Atom extends PhetioObject {

// @public - the position of the atom
this.positionProperty = new Vector2Property( initialPosition, {
tandem: config.tandem.createTandem( 'positionProperty' )
tandem: config.tandem.createTandem( 'positionProperty' ),
phetioHighFrequency: true
} );

// @private {Vector2} - the center position, around which oscillations occur
Expand Down

0 comments on commit 5b09114

Please sign in to comment.