From 4fc894e430c3b06737d2ece65c44d14ff8de6493 Mon Sep 17 00:00:00 2001 From: Aparajita Fishman Date: Wed, 11 Aug 2010 15:29:28 -0400 Subject: [PATCH] Fix for issue #820 (horizontal grid drawn incorrectly with no rows) --- AppKit/CPTableView.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j index 7f5f20c0c..a343975db 100644 --- a/AppKit/CPTableView.j +++ b/AppKit/CPTableView.j @@ -2568,7 +2568,7 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5; var exposedRows = [self rowsInRect:aRect]; row = exposedRows.location, lastRow = CPMaxRange(exposedRows) - 1, - rowY = 0.0, + rowY = -0.5, minX = _CGRectGetMinX(aRect), maxX = _CGRectGetMaxX(aRect);