use the clipRect as the visible rect
This commit is contained in:
parent
5cd3dd1db7
commit
527450b285
|
@ -703,9 +703,8 @@
|
||||||
{
|
{
|
||||||
NSArray * colors = [NSColor controlAlternatingRowBackgroundColors];
|
NSArray * colors = [NSColor controlAlternatingRowBackgroundColors];
|
||||||
|
|
||||||
NSRect visibleRect = [self visibleRect];
|
NSRect visibleRect = clipRect;
|
||||||
NSRange rows = [self rowsInRect: visibleRect];
|
NSRange rows = [self rowsInRect: visibleRect];
|
||||||
|
|
||||||
BOOL start = YES;
|
BOOL start = YES;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue