Skip to content

Commit

Permalink
code simplification, #535
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Nov 30, 2022
1 parent d9dc3e3 commit acf2979
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/common/view/RatioHalf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,7 @@ class RatioHalf extends Rectangle {
( assert && assert( false, `unexpected ratioTerm ${this.ratioTerm}` ) ) as unknown as RAPRatioTuple
} );

const createObjectResponse = () => this.ratio.lockedProperty.value ? options.ratioDescriber.getProximityToChallengeRatio() :
options.ratioDescriber.getProximityToChallengeRatio();
const createObjectResponse = () => options.ratioDescriber.getProximityToChallengeRatio();

this.ratioHandNode = new RatioHandNode(
options.tickMarkViewProperty,
Expand Down

0 comments on commit acf2979

Please sign in to comment.