diff --git a/AppKit/CPTableHeaderView.j b/AppKit/CPTableHeaderView.j index 3155ae5c7..1ffcf2334 100644 --- a/AppKit/CPTableHeaderView.j +++ b/AppKit/CPTableHeaderView.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); diff --git a/AppKit/_CPCornerView.j b/AppKit/_CPCornerView.j index c68d8d4f5..27df6c25c 100644 --- a/AppKit/_CPCornerView.j +++ b/AppKit/_CPCornerView.j @@ -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);