Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Nov 19, 2019
2 parents 3a0f866 + 0516644 commit 020b725
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions js/accessibility/GrabDragInteraction.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ define( require => {
const sceneryPhet = require( 'SCENERY_PHET/sceneryPhet' );
const SceneryPhetA11yStrings = require( 'SCENERY_PHET/SceneryPhetA11yStrings' );
const StringUtils = require( 'PHETCOMMON/util/StringUtils' );
const Tandem = require( 'TANDEM/Tandem' );

// a11y strings
const grabPatternString = SceneryPhetA11yStrings.grabPattern.value;
Expand Down Expand Up @@ -127,7 +128,10 @@ define( require => {

// {function} - returns {boolean}, whether or not there has been a successful drag interaction,
// thus determining whether or not to show the dragCueNode.
successfulDrag: _.stubTrue
successfulDrag: _.stubTrue,

// {Tandem} - For instrumenting
tandem: Tandem.required
}, options );

// a second block for options that use other options, therefore needing the defaults to be filled in
Expand Down Expand Up @@ -383,7 +387,9 @@ define( require => {

// this listener shouldn't prevent the behavior of other listeners, and this listener should always fire
// whether or not the pointer is already attached
attach: false
attach: false,

tandem: options.tandem.createTandem( 'pressListener' )
} );
this.node.addInputListener( pressListener );

Expand Down

0 comments on commit 020b725

Please sign in to comment.