Skip to content
Browse files

Set the frame to be applied by its transform.

  • Loading branch information...
1 parent 5ef5c76 commit ae518a3bbf4d5440d134b7855ecf79076d6de120 guykogus committed Mar 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 PSTCollectionView/PSTCollectionViewCell.m
View
2 PSTCollectionView/PSTCollectionViewCell.m
@@ -54,7 +54,7 @@ - (void)applyLayoutAttributes:(PSTCollectionViewLayoutAttributes *)layoutAttribu
if (layoutAttributes != _layoutAttributes) {
_layoutAttributes = layoutAttributes;
- self.frame = layoutAttributes.frame;
+ self.frame = CGRectApplyAffineTransform(layoutAttributes.frame, CATransform3DGetAffineTransform(layoutAttributes.transform3D));
self.center = layoutAttributes.center;
self.hidden = layoutAttributes.isHidden;

0 comments on commit ae518a3

Please sign in to comment.
Something went wrong with that request. Please try again.