mirror of
https://github.com/wassname/phaser.git
synced 2026-06-30 16:40:20 +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
-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