Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed animation when applying shadow view to the slider.

Seems to cause an unfixable crash.
Fixes #221.
  • Loading branch information...
commit ef7f48853d7f1fcb2753847095d415d5ea1260ab 1 parent c892c57
@Inferis authored
Showing with 1 addition and 7 deletions.
  1. +1 −1  VERSION
  2. +0 −6 ViewDeck/IIViewDeckController.m
View
2  VERSION
@@ -1 +1 @@
-2.2.1
+2.2.2
View
6 ViewDeck/IIViewDeckController.m
@@ -2868,12 +2868,6 @@ - (void)applyShadowToSlidingViewAnimated:(BOOL)animated {
}
else {
UIBezierPath* newShadowPath = [UIBezierPath bezierPathWithRect:shadowedView.bounds];
- CABasicAnimation* anim = [CABasicAnimation animationWithKeyPath:@"shadowPath"];
- anim.fromValue = (__bridge id)shadowedView.layer.shadowPath;
- anim.toValue = newShadowPath;
- anim.duration = MIN(self.closeSlideAnimationDuration, self.openSlideAnimationDuration);
- [shadowedView.layer addAnimation:anim forKey:@"animateShadowPath"];
-
shadowedView.layer.masksToBounds = NO;
shadowedView.layer.shadowRadius = 10;
shadowedView.layer.shadowOpacity = 0.5;
Please sign in to comment.
Something went wrong with that request. Please try again.