Skip to content

Commit

Permalink
Merge pull request #42 from mutualmobile/gesture_completion_fix
Browse files Browse the repository at this point in the history
Fixed Gesture completion block not executed when panning to the left (until the end of screen)
  • Loading branch information
kcharwood committed Jun 6, 2013
2 parents 74b2b65 + 6d944dc commit 5f59b3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MMDrawerController/MMDrawerController.m
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,11 @@ -(void)finishAnimationForPanGestureWithXVelocity:(CGFloat)xVelocity completion:(
[self openDrawerSide:MMDrawerSideRight animated:YES completion:completion];
}
}
else {
if(completion){
completion(NO);
}
}
}

-(void)updateDrawerVisualStateForDrawerSide:(MMDrawerSide)drawerSide percentVisible:(CGFloat)percentVisible{
Expand Down

0 comments on commit 5f59b3f

Please sign in to comment.