Improved logic for drawing highlighted grid lines.

This commit is contained in:
Randall Luecke committed 2010-02-04 00:41:15 -05:00
1 parent 9465dd6941
commit e8ac94f8da
1 file changed
+2 -2
+2 -2
View File
@@ -2173,8 +2173,8 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5;
}
//If we're at the last for of the selection don't draw the bottom line...
if(i !== count2 -1)
//if the row after the current row is not selected then there is no need to draw the bottom grid line white.
if([indexes containsObject:indexes[i]+1])
{
CGContextMoveToPoint(context, minX, maxY);
CGContextAddLineToPoint(context, maxX, maxY);