Skip to content

Commit

Permalink
Apply WebStorm formatting, see phetsims/phet-info#155
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Feb 26, 2021
1 parent 943bcd8 commit 74a700e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/intro/view/IntroAnimator.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const TRANSLATION_DURATION = 0.5; // duration of system 1 translation animation,
const OPACITY_DURATION = 0.5; // duration of system 2 opacity animation, in seconds

class IntroAnimator {

/**
* @param {NumberProperty} numberOfSystemsProperty
* @param {Node} system1Node
Expand Down
2 changes: 1 addition & 1 deletion js/systems/view/SeriesSystemNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class SeriesSystemNode extends Node {
viewProperties.equilibriumPositionVisibleProperty.linkAttribute( equilibriumPositionNode, 'visible' );

// move the right spring
rightSpring.leftProperty.link( left => {
rightSpring.leftProperty.link( left => {
// use x for positioning, other translation options are inaccurate because we're using boundsMethod:'none'
rightSpringNode.x = ( options.unitDisplacementLength * left );
} );
Expand Down

0 comments on commit 74a700e

Please sign in to comment.