diff --git a/ChangeLog b/ChangeLog index 3f17fb43b..40ff59a06 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-12-07 22:30-EST Gregory John Casamento + + * Source/NSTableView.m: Change highlighting color so that it shows + on both white and grey backgrounds. + 2008-12-07 Fred Kiefer * Source/NSWindowController.m (-initWithWindow:, diff --git a/Source/NSTableView.m b/Source/NSTableView.m index d73411801..2a1622691 100644 --- a/Source/NSTableView.m +++ b/Source/NSTableView.m @@ -5102,9 +5102,14 @@ static BOOL selectContiguousRegion(NSTableView *self, row = [_selectedRows indexGreaterThanOrEqualToIndex: startingRow]; while ((row != NSNotFound) && (row <= endingRow)) { + NSColor *selectionColor = [NSColor colorWithCalibratedRed: 0.86 + green: 0.92 + blue: 0.99 + alpha: 1.0]; + //NSHighlightRect(NSIntersectionRect([self rectOfRow: row], - // clipRect)); - [[NSColor whiteColor] set]; + // clipRect)); + [selectionColor set]; NSRectFill(NSIntersectionRect([self rectOfRow: row], clipRect)); row = [_selectedRows indexGreaterThanIndex: row]; }