Fixed drawing bug where a the bottom grid line for the selected rows would be drawn white.

This commit is contained in:
Randall Luecke committed 2010-02-04 00:19:59 -05:00
1 parent 2b87b9f3fc
commit 28a00fff23
1 file changed
+7 -3
+7 -3
View File
@@ -2172,9 +2172,13 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5;
}
}
CGContextMoveToPoint(context, minX, maxY);
CGContextAddLineToPoint(context, maxX, maxY);
//If we're at the last for of the selection don't draw the bottom line...
if(i !== count2 -1)
{
CGContextMoveToPoint(context, minX, maxY);
CGContextAddLineToPoint(context, maxX, maxY);
}
}
CGContextClosePath(context);