Skip to content

Commit

Permalink
~
Browse files Browse the repository at this point in the history
  • Loading branch information
zrcoder committed Jul 25, 2016
1 parent 5fdfdf7 commit 0e3a6a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file not shown.
4 changes: 2 additions & 2 deletions src/iCards.m
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ - (void)cardSwipedAction:(UIView *)card {
self.swipeEnded = YES;
card.transform = CGAffineTransformMakeRotation(0);
card.center = self.originalPoint;
CGRect lastCardFrame = [self.visibleViews.lastObject frame];
CGRect cardFrame = card.frame;
_reusingView = card;
[self.visibleViews removeObject:card];
[card removeFromSuperview];
Expand All @@ -277,7 +277,7 @@ - (void)cardSwipedAction:(UIView *)card {
}
}
if (newCard) {
newCard.frame = lastCardFrame;
newCard.frame = cardFrame;
[self.visibleViews addObject:newCard];
}

Expand Down

0 comments on commit 0e3a6a2

Please sign in to comment.