Skip to content

Commit

Permalink
left/right edge bug fix when both objects are right most, and you foc…
Browse files Browse the repository at this point in the history
…us right object, phetsims/gravity-force-lab#124
  • Loading branch information
zepumph committed Feb 19, 2019
1 parent ec9429c commit 1af48d7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ define( function( require ) {
*/
resetAriaValueText: function() {
const positionDescriber = GFLBPositionDescriber.getDescriber();
if ( positionDescriber.objectAtEdge( this.enum ) ) {
this.ariaValueText = positionDescriber.getEdgeValueText( this.enum );
if ( positionDescriber.objectTouchingBoundary( this.enum ) ) {
this.ariaValueText = positionDescriber.getBoundaryTouchingValueText( this.enum );
}
else {
this.ariaValueText = positionDescriber.getPositionAndDistanceFromOtherObjectText( this.enum );
Expand Down

0 comments on commit 1af48d7

Please sign in to comment.