Skip to content

Commit

Permalink
fix(input): suppress mouse events after touch in TouchMouseInput
Browse files Browse the repository at this point in the history
  • Loading branch information
kara committed Mar 7, 2016
1 parent bd6b82e commit 523f4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/touchmouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ inherit(TouchMouseInput, Input, {
}

// reset the allowMouse when we're done
if (inputEvent & (INPUT_END | INPUT_CANCEL)) {
if (isMouse && inputEvent & (INPUT_END | INPUT_CANCEL)) {
this.mouse.allow = true;
}

Expand Down

0 comments on commit 523f4eb

Please sign in to comment.