Skip to content

Commit 8678373

Browse files
committed
fix typo
1 parent e8bac6c commit 8678373

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/input/Mouse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Phaser.Mouse.prototype = {
131131
event.preventDefault();
132132

133133
if (event.which === 1) this.mouseTypeDown = Phaser.Mouse.LEFT_BUTTON;
134-
else if (event.which === 2) this.mouseTypeDown = Phaser.Mouse.MIDDLE_BUTON;
134+
else if (event.which === 2) this.mouseTypeDown = Phaser.Mouse.MIDDLE_BUTTON;
135135
else if (event.which === 3) this.mouseTypeDown = Phaser.Mouse.RIGHT_BUTTON;
136136

137137
if (this.mouseDownCallback)

0 commit comments

Comments
 (0)