mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 05:58:30 +00:00
Apply buttons check in move handler too.
This commit is contained in:
parent
2a108339f0
commit
508df48512
1 changed files with 1 additions and 1 deletions
|
@ -649,7 +649,7 @@ var Pointer = new Class({
|
|||
*/
|
||||
move: function (event, time)
|
||||
{
|
||||
if (event.buttons)
|
||||
if ('buttons' in event)
|
||||
{
|
||||
this.buttons = event.buttons;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue