Skip to content
This repository was archived by the owner on Jan 17, 2019. It is now read-only.

Commit 75c425f

Browse files
committed
Merge branch 'master' into vc-as-class
2 parents bc22a44 + 4b05441 commit 75c425f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/HUBViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ - (CGRect)frameForBodyComponentAtIndex:(NSUInteger)index
390390
}
391391

392392
NSIndexPath * const indexPath = [NSIndexPath indexPathForItem:(NSInteger)index inSection:0];
393-
return [self.collectionView layoutAttributesForItemAtIndexPath:indexPath].frame;
393+
return [self.collectionView.collectionViewLayout layoutAttributesForItemAtIndexPath:indexPath].frame;
394394
}
395395

396396
- (NSUInteger)indexOfBodyComponentAtPoint:(CGPoint)point

0 commit comments

Comments
 (0)