Permalink
Browse files

Fixed: table column divider lines were drawn on top of the header bot…

…tom line.
  • Loading branch information...
1 parent f2571e6 commit 3b85a67faff38d1bb86bb3646559db3bda28219a @aljungberg aljungberg committed Mar 18, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 AppKit/CPTableHeaderView.j
  2. +1 −1 AppKit/_CPCornerView.j
@@ -643,7 +643,7 @@ var _CPTableColumnHeaderViewStringValueKey = @"_CPTableColumnHeaderViewStringVal
columnMaxX = _CGRectGetMaxX(columnToStroke);
CGContextMoveToPoint(context, FLOOR(columnMaxX) - 0.5, ROUND(_CGRectGetMinY(columnToStroke)));
- CGContextAddLineToPoint(context, FLOOR(columnMaxX) - 0.5, ROUND(_CGRectGetMaxY(columnToStroke)));
+ CGContextAddLineToPoint(context, FLOOR(columnMaxX) - 0.5, ROUND(_CGRectGetMaxY(columnToStroke)) - 1.0);
}
CGContextClosePath(context);
CGContextStrokePath(context);
View
@@ -46,7 +46,7 @@
CGContextSetStrokeColor(context, [self currentValueForThemeAttribute:@"divider-color"]);
CGContextMoveToPoint(context, _CGRectGetMinX(aRect) + 0.5, ROUND(_CGRectGetMinY(aRect)));
- CGContextAddLineToPoint(context, _CGRectGetMinX(aRect) + 0.5, ROUND(_CGRectGetMaxY(aRect)));
+ CGContextAddLineToPoint(context, _CGRectGetMinX(aRect) + 0.5, ROUND(_CGRectGetMaxY(aRect)) - 1.0);
CGContextClosePath(context);
CGContextStrokePath(context);

0 comments on commit 3b85a67

Please sign in to comment.