Permalink
Browse files

Pan: Fix inverted touch-action for pan recognizer

Fixes #728
Closes #730
  • Loading branch information...
andywhite37 authored and arschmitz committed Nov 25, 2014
1 parent 287720a commit 605bd3beca780be91dd43f9da8b809d155a43d1a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/recognizers/pan.js
View
@@ -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;
},

0 comments on commit 605bd3b

Please sign in to comment.