Skip to content

Commit

Permalink
Adding interrupt to DownUpListener, see #1222
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed May 13, 2021
1 parent 4cdb310 commit 3a355a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/input/DownUpListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ define( function( require ) {
sceneryLog && sceneryLog.InputListener && sceneryLog.pop();
},

interrupt: function() {
self.interrupt();
},

// touch cancel
cancel: function( event ) {
sceneryLog && sceneryLog.InputListener && sceneryLog.InputListener( 'DownUpListener (pointer) cancel for ' + self.downTrail.toString() );
Expand Down

0 comments on commit 3a355a7

Please sign in to comment.