Fix for issue #820 (horizontal grid drawn incorrectly with no rows)

This commit is contained in:
Aparajita Fishman committed 2010-08-11 15:29:28 -04:00
1 parent 1e3958652a
commit 8a835c287f
1 file changed
+1 -1
+1 -1
View File
@@ -2568,7 +2568,7 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5;
var exposedRows = [self rowsInRect:aRect];
row = exposedRows.location,
lastRow = CPMaxRange(exposedRows) - 1,
rowY = 0.0,
rowY = -0.5,
minX = _CGRectGetMinX(aRect),
maxX = _CGRectGetMaxX(aRect);