Skip to content

Commit

Permalink
update lint directive, phetsims/scenery-phet#625
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Sep 15, 2020
1 parent e8c17bd commit 19713f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion js/common/view/RAPScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class RAPScreenView extends ScreenView {

// Tick mark sounds get played when ratio isn't locked, and when staccato sounds aren't playing
const playTickMarkSoundProperty = new DerivedProperty( [ model.ratioFitnessProperty ],
fitness => !model.ratio.lockedProperty.value && ( fitness === model.fitnessRange.min || model.inProportion() ) );
fitness => !model.ratio.lockedProperty.value && fitness === model.fitnessRange.min );

// @private {RatioHalf}
this.numeratorRatioHalf = new RatioHalf(
Expand Down
1 change: 0 additions & 1 deletion js/common/view/sound/InProportionSoundGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ class InProportionSoundGenerator extends SoundClip {

const isInRatio = this.model.inProportion();


// Only use hysteresis when both hands are moving.
const hysteresisThreshold = this.model.ratio.movingInDirection() ? RAPQueryParameters.hysteresisThreshold : 0;

Expand Down

1 comment on commit 19713f7

@zepumph
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.