Skip to content

Commit

Permalink
code simplification, phetsims/ratio-and-proportion#535
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Nov 30, 2022
1 parent add91ab commit e17a1c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/accessibility/AccessibleValueHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ const AccessibleValueHandler = <SuperType extends Constructor<Node>>( Type: Supe
* the max value rather than the full range.
*/
private _updateSiblingStepAttribute(): void {
const smallestStep = Math.min( Math.min( this.keyboardStep, this.shiftKeyboardStep ), this.pageKeyboardStep );
const smallestStep = Math.min( this.keyboardStep, this.shiftKeyboardStep, this.pageKeyboardStep );
let stepValue = Math.pow( 10, -Utils.numberOfDecimalPlaces( smallestStep ) );

const mappedMin = this._getMappedValue( this._enabledRangeProperty.get().min );
Expand Down

0 comments on commit e17a1c4

Please sign in to comment.