Skip to content

Commit

Permalink
Match the correct enum value for jumping.
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryhjones committed Sep 3, 2013
1 parent e796724 commit 2cb2d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SMPageControl.m
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
UITouch *touch = [touches anyObject];
CGPoint point = [touch locationInView:self];

if (SMPageControlTapBehaviorStep == self.tapBehavior) {
if (SMPageControlTapBehaviorJump == self.tapBehavior) {

__block NSInteger tappedIndicatorIndex = NSNotFound;

Expand Down

0 comments on commit 2cb2d93

Please sign in to comment.