Skip to content

Commit

Permalink
fixed REGULAR table row: Focus examples when focused sphere is at an …
Browse files Browse the repository at this point in the history
…edge and spheres are “touching”, phetsims/gravity-force-lab#124
  • Loading branch information
zepumph committed Feb 12, 2019
1 parent 8794255 commit c11b1e1
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,7 @@ define( function( require ) {
resetAriaValueText: function() {
const positionDescriber = GFLBPositionDescriber.getDescriber();
if ( positionDescriber.objectAtEdge( this.enum ) ) {
this.ariaValueText = positionDescriber.getPositionAtEdgeAndDistanceFromOtherObjectText( this.enum );
}
else if ( positionDescriber.objectsClosest ) {
this.ariaValueText = positionDescriber.getClosestToOtherObjectText( this.enum );
this.ariaValueText = positionDescriber.getEdgeValueText( this.enum );
}
else {
this.ariaValueText = positionDescriber.getPositionAndDistanceFromOtherObjectText( this.enum );
Expand Down

0 comments on commit c11b1e1

Please sign in to comment.