Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor typos and misspellings

  • Loading branch information...
commit 6946f367c4efc19551b6e832e7400a85e937b4f8 1 parent b90d6dd
@burtlo burtlo authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 PSStackedView/PSStackedViewController.m
View
5 PSStackedView/PSStackedViewController.m
@@ -1209,7 +1209,8 @@ - (BOOL)shouldSnapAnimate {
PSSVBounceBack,
}typedef PSSVBounceOption;
-- (void)alignStackAnimated:(BOOL)animated duration:(CGFloat)duration bounceType:(PSSVBounceOption)bounce; {
+- (void)alignStackAnimated:(BOOL)animated duration:(CGFloat)duration bounceType:(PSSVBounceOption)bounce {
+
animated = animated && !self.isReducingAnimations; // don't animate if set
self.floatIndex = [self nearestValidFloatIndex:self.floatIndex]; // round to nearest correct index
UIViewAnimationCurve animationCurve = UIViewAnimationCurveEaseInOut;
@@ -1230,7 +1231,7 @@ - (void)alignStackAnimated:(BOOL)animated duration:(CGFloat)duration bounceType:
PSSVSimpleBlock alignmentBlock = ^{
- PSSVLog(@"Begin aliging VCs. Last drag offset:%d direction:%d bounce:%d.", lastDragOffset_, lastDragOption_, bounce);
+ PSSVLog(@"Begin aligning VCs. Last drag offset:%d direction:%d bounce:%d.", lastDragOffset_, lastDragOption_, bounce);
// calculate offset used only when we're bleeding over
NSInteger snapOverOffset = 0; // > 0 = <--- ; we scrolled from right to left.
Please sign in to comment.
Something went wrong with that request. Please try again.