Skip to content

Commit

Permalink
Merge pull request #263 from guykogus/master
Browse files Browse the repository at this point in the history
Applied the transform to the collection view cell's frame
  • Loading branch information
steipete committed Mar 9, 2013
2 parents 5ef5c76 + ae518a3 commit 7dce692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PSTCollectionView/PSTCollectionViewCell.m
Expand Up @@ -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;
Expand Down

0 comments on commit 7dce692

Please sign in to comment.