Skip to content

Commit 508df48

Browse files
committed
Apply buttons check in move handler too.
1 parent 2a10833 commit 508df48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/input/Pointer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ var Pointer = new Class({
649649
*/
650650
move: function (event, time)
651651
{
652-
if (event.buttons)
652+
if ('buttons' in event)
653653
{
654654
this.buttons = event.buttons;
655655
}

0 commit comments

Comments
 (0)