Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes an issue where, while sorting an item by dragging, if the user …

…adds another finger / touch to the screen, the object being sorted will also respond to movements from the second touch / finger.
  • Loading branch information...
commit a717a925e67bf7e02c9ee4e0bd7a227d88443549 1 parent 8fbbf2b
Timothy Arnold authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  GMGridView/GMGridView.m
View
1  GMGridView/GMGridView.m
@@ -211,6 +211,7 @@ - (void)commonInit
_sortingPanGesture = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(sortingPanGestureUpdated:)];
_sortingPanGesture.delegate = self;
+ _sortingPanGesture.maximumNumberOfTouches = 1;
[self addGestureRecognizer:_sortingPanGesture];
_longPressGesture = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(longPressGestureUpdated:)];
Please sign in to comment.
Something went wrong with that request. Please try again.