Skip to content

Commit

Permalink
rename tandems for grabDragInteraction
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Nov 19, 2019
1 parent 086f4a3 commit 25033cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/view/ISLCRulerNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ define( require => {
} );

// @private - add the "grab button" interaction
this.a11yGrabDragInteraction = new GrabDragInteraction( this, {
this.grabDragInteraction = new GrabDragInteraction( this, {
objectToGrabString: rulerLabelString,
grabbableAccessibleName: measureDistanceRulerString,

Expand Down Expand Up @@ -195,7 +195,7 @@ define( require => {

listenersForDrag: [ keyboardDragListener ],

tandem: tandem.createTandem( 'a11yGrabDragInteraction' )
tandem: tandem.createTandem( 'grabDragInteraction' )
} );

// the ruler's orgin is the center, this offset get's the edge of it.
Expand All @@ -218,7 +218,7 @@ define( require => {
keys: [ KeyboardUtil.KEY_J, KeyboardUtil.KEY_H ], // jump home
callback: () => {
rulerPositionProperty.set( rulerPositionProperty.initialValue );
this.a11yGrabDragInteraction.releaseDraggable();
this.grabDragInteraction.releaseDraggable();

// TODO: remove this conditional once CL ruler describer is supported
if ( rulerDescriber.getHomePositionString ) {
Expand Down Expand Up @@ -255,7 +255,7 @@ define( require => {
* @public
*/
reset() {
this.a11yGrabDragInteraction.reset();
this.grabDragInteraction.reset();
}
}

Expand Down

0 comments on commit 25033cc

Please sign in to comment.