Skip to content

Commit

Permalink
reset a11yClickingProperty on interrupt, see #884 and phetsims/sun#475
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Feb 14, 2019
1 parent fba1170 commit c0b663f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/listeners/PressListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,10 +423,10 @@ define( function( require ) {
// handle a11y interrupt
if ( this.a11yClickingProperty.value ) {
this.interrupted = true;
this.a11yClickingProperty.value = false;

if ( this._a11yClickingTimeoutListener ) {
timer.clearTimeout( this._a11yClickingTimeoutListener );
this._a11yClickingTimeoutListener();
}
}
else if ( this.isPressed ) {
Expand Down

0 comments on commit c0b663f

Please sign in to comment.