Permalink
Browse files

Fix incorrect variable reference

  • Loading branch information...
1 parent 0103666 commit 0afd8ff96f07cd226f151aed9e2102c91ab4ad2b @LucasTizma committed Feb 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 LTKit/Categories/UITableView+LTKAdditions.m
@@ -141,7 +141,7 @@ - (void)calculateVisibleRects
// isn't obscured by the section header.
CGRect sectionRectTableViewCellPartialFrame = tableViewCellRect;
- tableViewCellRect.origin.y = CGRectGetMaxY(sectionHeaderRect);
+ sectionRectTableViewCellPartialFrame.origin.y = CGRectGetMaxY(sectionHeaderRect);
sectionRectTableViewCellPartialFrame.size.height = (CGRectGetMaxY(tableViewCellRect) - CGRectGetMaxY(sectionHeaderRect));
// Only in the case where the table view cell is not completely covered by a section header is it included as a visible rect.

0 comments on commit 0afd8ff

Please sign in to comment.