Skip to content

Commit

Permalink
Fixing call sites for new PeriodTraceNode(). phetsims/masses-and-spri…
Browse files Browse the repository at this point in the history
  • Loading branch information
Denz1994 committed Mar 13, 2019
1 parent dd5da21 commit 9697eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/lab/view/PeriodTraceNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ define( function( require ) {
// @private {ModelViewTransForm}
this.modelViewTransform = modelViewTransform;

this.originalX = this.modelViewTransform.modelToViewX( this.periodTrace.spring.positionProperty.value.x - 0.2 );
this.originalX = this.modelViewTransform.modelToViewX( periodTrace.spring.positionProperty.value.x - 0.2 );
this.middleX = this.originalX + X_OFFSET;
this.lastX = this.originalX + 2 * X_OFFSET;

Expand Down

0 comments on commit 9697eb9

Please sign in to comment.