Skip to content

Commit

Permalink
Fixed issue MortimerGoro#51: Starting swiping on one cell while anoth…
Browse files Browse the repository at this point in the history
…er one is open makes the swipe a no-op. Fixed issue MortimerGoro#53: Pressing a UITableViewCell when a cell is currently swiped open
  • Loading branch information
MortimerGoro committed Mar 6, 2015
1 parent 936dacc commit 2a6fb74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MGSwipeTableCell/MGSwipeTableCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ -(UIView *) hitTest:(CGPoint)point withEvent:(UIEvent *)event
return nil;
}
[_currentCell hideSwipeAnimated:YES];
return self;
return nil; //return nil to allow swipping a new cell while the current one is hidding
}

@end
Expand Down

0 comments on commit 2a6fb74

Please sign in to comment.