mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-11 11:07:07 +00:00
Improved logic for drawing highlighted grid lines.
This commit is contained in:
1 parent
9465dd6941
commit
e8ac94f8da
1 file changed
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user