Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix incorrect variable reference

  • Loading branch information...
commit 0afd8ff96f07cd226f151aed9e2102c91ab4ad2b 1 parent 0103666
@LucasTizma authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  LTKit/Categories/UITableView+LTKAdditions.m
View
2  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.
Please sign in to comment.
Something went wrong with that request. Please try again.