Skip to content

Commit

Permalink
rename a11yMapValue-> a11yMapPDOMValue, phetsims/sun#669
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Nov 13, 2020
1 parent 467db10 commit b3bfbc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/proportional/view/ProportionalFactorsNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class ProportionalFactorsNode extends Node {
// pdom
labelContent: orientation === Orientation.HORIZONTAL ? horizontalPickerString : verticalPickerString,
descriptionContent: orientation === Orientation.HORIZONTAL ? horizontalPickerDescriptionString : verticalPickerDescriptionString,
a11yMapValue: value => Utils.toFixedNumber( value, decimalPlaces )
a11yMapPDOMValue: value => Utils.toFixedNumber( value, decimalPlaces )
} );
}
}
Expand Down
2 changes: 1 addition & 1 deletion js/proportional/view/ProportionalPartitionLineNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class ProportionalPartitionLineNode extends Node {
shiftKeyboardStep: 1,
pageKeyboardStep: 5,
ariaOrientation: orientation,
a11yMapValue: v => ( orientation === Orientation.HORIZONTAL ? 1 : -1 ) * v,
a11yMapPDOMValue: v => ( orientation === Orientation.HORIZONTAL ? 1 : -1 ) * v,
roundToStepSize: true
} );

Expand Down

0 comments on commit b3bfbc7

Please sign in to comment.