Skip to content

Commit

Permalink
Merge pull request nytimes#24 from nytm/develop
Browse files Browse the repository at this point in the history
Further reduces dismissal panning threshold.
  • Loading branch information
Twigz committed Mar 20, 2015
2 parents 762556a + 0382078 commit 2f1eefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pod/Classes/ios/NYTPhotoDismissalInteractionController.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#import "NYTPhotoDismissalInteractionController.h"
#import "NYTOperatingSystemCompatibilityUtility.h"

static const CGFloat NYTPhotoDismissalInteractionControllerPanDismissDistanceRatio = 80.0 / 667.0; // distance over iPhone 6 height.
static const CGFloat NYTPhotoDismissalInteractionControllerPanDismissDistanceRatio = 50.0 / 667.0; // distance over iPhone 6 height.
static const CGFloat NYTPhotoDismissalInteractionControllerPanDismissMaximumDuration = 0.45;
static const CGFloat NYTPhotoDismissalInteractionControllerReturnToCenterVelocityAnimationRatio = 0.00007; // Arbitrary value that looked decent.

Expand Down

0 comments on commit 2f1eefd

Please sign in to comment.