Skip to content

Commit fc827a9

Browse files
committed
- Faster quick swipe animation
- And more sensitivity for detecting quick swipe
1 parent 3554c28 commit fc827a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SlideMenu/Source/SlideNavigationController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ @interface SlideNavigationController()
3636
@implementation SlideNavigationController
3737

3838
#define MENU_SLIDE_ANIMATION_DURATION .3
39-
#define MENU_QUICK_SLIDE_ANIMATION_DURATION .2
39+
#define MENU_QUICK_SLIDE_ANIMATION_DURATION .15
4040
#define MENU_IMAGE @"menu-button"
4141
#define MENU_SHADOW_RADIUS 10
4242
#define MENU_SHADOW_OPACITY 1
4343
#define MENU_DEFAULT_SLIDE_OFFSET 60
44-
#define MENU_FAST_VELOCITY_FOR_SWIPE_FOLLOW_DIRECTION 1300
44+
#define MENU_FAST_VELOCITY_FOR_SWIPE_FOLLOW_DIRECTION 1200
4545

4646
static SlideNavigationController *singletonInstance;
4747

0 commit comments

Comments
 (0)