Skip to content

Commit

Permalink
Pan: Fix inverted touch-action for pan recognizer
Browse files Browse the repository at this point in the history
Fixes #728
Closes #730
  • Loading branch information
andywhite37 authored and arschmitz committed Aug 8, 2015
1 parent 287720a commit 605bd3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/recognizers/pan.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ inherit(PanRecognizer, AttrRecognizer, {
var direction = this.options.direction;
var actions = [];
if (direction & DIRECTION_HORIZONTAL) {
actions.push(TOUCH_ACTION_PAN_Y);
actions.push(TOUCH_ACTION_PAN_X);
}
if (direction & DIRECTION_VERTICAL) {
actions.push(TOUCH_ACTION_PAN_X);
actions.push(TOUCH_ACTION_PAN_Y);
}
return actions;
},
Expand Down

0 comments on commit 605bd3b

Please sign in to comment.