File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecogni
392392 CGPoint velocity = [panGesture velocityInView: self .myContentView];
393393 if (velocity.x > 0 ) {
394394 return YES ;
395- } else if (fabsf (velocity.x ) > fabsf (velocity.y )) {
395+ } else if (fabs (velocity.x ) > fabs (velocity.y )) {
396396 return NO ;
397397 }
398398 }
@@ -409,7 +409,7 @@ - (void)panThisCell:(UIPanGestureRecognizer *)recognizer
409409 CGPoint velocity = [recognizer velocityInView: self .myContentView];
410410
411411 // Check what direction the swipe is moving by checking the velocity
412- BOOL movingHorizontally = fabsf (velocity.y ) < fabsf (velocity.x );
412+ BOOL movingHorizontally = fabs (velocity.y ) < fabs (velocity.x );
413413
414414 switch (recognizer.state ) {
415415 case UIGestureRecognizerStateBegan:
You can’t perform that action at this time.
0 commit comments