Skip to content

Commit

Permalink
Fixed: table column divider lines were drawn on top of the header bot…
Browse files Browse the repository at this point in the history
…tom line.
  • Loading branch information
aljungberg committed Mar 18, 2012
1 parent f2571e6 commit 3b85a67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AppKit/CPTableHeaderView.j
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion AppKit/_CPCornerView.j
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3b85a67

Please sign in to comment.