Apply buttons check in move handler too.

This commit is contained in:
Richard Davey 2019-01-23 23:17:52 +00:00
parent 2a108339f0
commit 508df48512

View file

@ -649,7 +649,7 @@ var Pointer = new Class({
*/
move: function (event, time)
{
if (event.buttons)
if ('buttons' in event)
{
this.buttons = event.buttons;
}