- Faster quick swipe animation

- And more sensitivity for detecting quick swipe
This commit is contained in:
Aryan Ghassemi 2014-01-05 15:39:58 -08:00
parent 3554c28b2f
commit fc827a9fd8
1 changed files with 2 additions and 2 deletions

View File

@ -36,12 +36,12 @@
@implementation SlideNavigationController
#define MENU_SLIDE_ANIMATION_DURATION .3
#define MENU_QUICK_SLIDE_ANIMATION_DURATION .2
#define MENU_QUICK_SLIDE_ANIMATION_DURATION .15
#define MENU_IMAGE @"menu-button"
#define MENU_SHADOW_RADIUS 10
#define MENU_SHADOW_OPACITY 1
#define MENU_DEFAULT_SLIDE_OFFSET 60
#define MENU_FAST_VELOCITY_FOR_SWIPE_FOLLOW_DIRECTION 1300
#define MENU_FAST_VELOCITY_FOR_SWIPE_FOLLOW_DIRECTION 1200
static SlideNavigationController *singletonInstance;