Skip to content

Commit

Permalink
convert Slider.orientation and ariaOrientation to use Orientation, ph…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed May 27, 2020
1 parent c9f6c82 commit 9dcc1be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/proportional/view/ProportionalPartitionLineNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function ProportionalPartitionLineNode( areaDisplay, modelViewTransformProperty,
keyboardStep: 1,
shiftKeyboardStep: 1,
pageKeyboardStep: 5,
ariaOrientation: orientation.layoutBoxOrientation,
ariaOrientation: orientation,
a11yMapValue: function( v ) {
// Reverse the negation above for readouts
return ( orientation === Orientation.HORIZONTAL ? 1 : -1 ) * v;
Expand Down

0 comments on commit 9dcc1be

Please sign in to comment.