We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8bac6c commit 8678373Copy full SHA for 8678373
1 file changed
src/input/Mouse.js
@@ -131,7 +131,7 @@ Phaser.Mouse.prototype = {
131
event.preventDefault();
132
133
if (event.which === 1) this.mouseTypeDown = Phaser.Mouse.LEFT_BUTTON;
134
- else if (event.which === 2) this.mouseTypeDown = Phaser.Mouse.MIDDLE_BUTON;
+ else if (event.which === 2) this.mouseTypeDown = Phaser.Mouse.MIDDLE_BUTTON;
135
else if (event.which === 3) this.mouseTypeDown = Phaser.Mouse.RIGHT_BUTTON;
136
137
if (this.mouseDownCallback)
0 commit comments