Skip to content

Commit 0c86c00

Browse files
committed
Fixed misnamed method isPointContainedWithinRightBezelRect (#269)
1 parent fa2f7bc commit 0c86c00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

MMDrawerController/MMDrawerController.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ -(MMCloseDrawerGestureMode)possibleCloseGestureModesForGestureRecognizer:(UIGest
13311331
if([self isPointContainedWithinCenterViewContentRect:point]){
13321332
possibleCloseGestureModes |= MMCloseDrawerGestureModePanningCenterView;
13331333
}
1334-
if([self isPointContainedWithRightBezelRect:point] &&
1334+
if([self isPointContainedWithinRightBezelRect:point] &&
13351335
self.openSide == MMDrawerSideLeft){
13361336
possibleCloseGestureModes |= MMCloseDrawerGestureModeBezelPanningCenterView;
13371337
}
@@ -1367,7 +1367,7 @@ -(MMOpenDrawerGestureMode)possibleOpenGestureModesForGestureRecognizer:(UIGestur
13671367
self.leftDrawerViewController){
13681368
possibleOpenGestureModes |= MMOpenDrawerGestureModeBezelPanningCenterView;
13691369
}
1370-
if([self isPointContainedWithRightBezelRect:point] &&
1370+
if([self isPointContainedWithinRightBezelRect:point] &&
13711371
self.rightDrawerViewController){
13721372
possibleOpenGestureModes |= MMOpenDrawerGestureModeBezelPanningCenterView;
13731373
}
@@ -1406,7 +1406,7 @@ -(BOOL)isPointContainedWithinLeftBezelRect:(CGPoint)point{
14061406
[self isPointContainedWithinCenterViewContentRect:point]);
14071407
}
14081408

1409-
-(BOOL)isPointContainedWithRightBezelRect:(CGPoint)point{
1409+
-(BOOL)isPointContainedWithinRightBezelRect:(CGPoint)point{
14101410
CGRect rightBezelRect = CGRectNull;
14111411
CGRect tempRect;
14121412
CGRectDivide(self.childControllerContainerView.bounds, &rightBezelRect, &tempRect, MMDrawerBezelRange, CGRectMaxXEdge);

0 commit comments

Comments
 (0)