mirror of
https://github.com/wassname/phaser.git
synced 2026-07-29 11:24:31 +08:00
fix typo
This commit is contained in:
+1
-1
@@ -131,7 +131,7 @@ Phaser.Mouse.prototype = {
|
||||
event.preventDefault();
|
||||
|
||||
if (event.which === 1) this.mouseTypeDown = Phaser.Mouse.LEFT_BUTTON;
|
||||
else if (event.which === 2) this.mouseTypeDown = Phaser.Mouse.MIDDLE_BUTON;
|
||||
else if (event.which === 2) this.mouseTypeDown = Phaser.Mouse.MIDDLE_BUTTON;
|
||||
else if (event.which === 3) this.mouseTypeDown = Phaser.Mouse.RIGHT_BUTTON;
|
||||
|
||||
if (this.mouseDownCallback)
|
||||
|
||||
Reference in New Issue
Block a user