diff --git a/MMDrawerController/MMDrawerController.m b/MMDrawerController/MMDrawerController.m index 86f35872..01cd85a9 100644 --- a/MMDrawerController/MMDrawerController.m +++ b/MMDrawerController/MMDrawerController.m @@ -180,11 +180,11 @@ -(instancetype)initWithCenterViewController:(UIViewController *)centerViewContro } -(void)commonSetup{ + [self setAnimationVelocity:MMDrawerDefaultAnimationVelocity]; + [self setMaximumLeftDrawerWidth:MMDrawerDefaultWidth]; [self setMaximumRightDrawerWidth:MMDrawerDefaultWidth]; - [self setAnimationVelocity:MMDrawerDefaultAnimationVelocity]; - [self setShowsShadow:YES]; [self setShouldStretchDrawer:YES];