Updated Mouse to use event.button not event.which, so the const references are correct (fix #464)

This commit is contained in:
photonstorm
2014-02-21 15:47:00 +00:00
parent e9e5bf9436
commit 3ead8aee7b
+1 -1
View File
@@ -165,7 +165,7 @@ Phaser.Mouse.prototype = {
event.preventDefault();
}
this.button = event.which;
this.button = event.button;
if (this.mouseDownCallback)
{