use the clipRect as the visible rect

This commit is contained in:
Mitchell Livingston 2008-05-23 19:17:01 +00:00
parent 5cd3dd1db7
commit 527450b285
1 changed files with 1 additions and 2 deletions

View File

@ -703,9 +703,8 @@
{
NSArray * colors = [NSColor controlAlternatingRowBackgroundColors];
NSRect visibleRect = [self visibleRect];
NSRect visibleRect = clipRect;
NSRange rows = [self rowsInRect: visibleRect];
BOOL start = YES;
int i;