We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f73d58 commit 81e1853Copy full SHA for 81e1853
Library/DNSSwipeableCell.m
@@ -329,7 +329,9 @@ - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecogni
329
if ([gestureRecognizer isKindOfClass:[UIPanGestureRecognizer class]]) {
330
UIPanGestureRecognizer *panGesture = (UIPanGestureRecognizer*)gestureRecognizer;
331
CGPoint velocity = [panGesture velocityInView:self.myContentView];
332
- if (fabsf(velocity.x) > fabsf(velocity.y)) {
+ if (velocity.x > 0) {
333
+ return YES;
334
+ } else if (fabsf(velocity.x) > fabsf(velocity.y)) {
335
return NO;
336
}
337
0 commit comments