mirror of
https://github.com/wassname/phaser.git
synced 2026-09-30 11:33:44 +08:00
Updated Mouse to use event.button not event.which, so the const references are correct (fix #464)
This commit is contained in:
1 parent
e9e5bf9436
commit
3ead8aee7b
1 file changed
+1
-1
+1
-1
@@ -165,7 +165,7 @@ Phaser.Mouse.prototype = {
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
this.button = event.which;
|
||||
this.button = event.button;
|
||||
|
||||
if (this.mouseDownCallback)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user