Skip to content

Commit

Permalink
Don't error out on different mouse buttons, see #813
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Jun 21, 2018
1 parent d466379 commit 719a9d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/input/Mouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ define( function( require ) {
this.rightDown = true;
break;
default:
throw new Error( 'invalid button: ' + event.button );
// no-op until we refactor things, see https://github.com/phetsims/scenery/issues/813
}
return pointChanged;
},
Expand All @@ -74,7 +74,7 @@ define( function( require ) {
this.rightDown = false;
break;
default:
throw new Error( 'invalid button: ' + event.button );
// no-op until we refactor things, see https://github.com/phetsims/scenery/issues/813
}
return pointChanged;
},
Expand Down

0 comments on commit 719a9d8

Please sign in to comment.