diff --git a/ChangeLog b/ChangeLog index 9a7ec65aa..d212f44ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-12-20 Eric Wasylishen + + * Source/NSBrowserCell.m (-drawInteriorWithFrame:inView:): + Restore code to draw the background when the cell is highligted + 2011-12-18 Eric Wasylishen * Source/NSSavePanel.m (-browser:createRowsForColumn:inMatrix:): diff --git a/Source/NSBrowserCell.m b/Source/NSBrowserCell.m index dae005516..34b48ecb5 100644 --- a/Source/NSBrowserCell.m +++ b/Source/NSBrowserCell.m @@ -291,11 +291,17 @@ static NSFont *_leafFont; branch_image = [object_getClass(self) highlightedBranchImage]; if (nil != [self alternateImage]) cell_image = [self alternateImage]; + + // If we are highlighted, fill the background + [[self highlightColorInView: controlView] setFill]; + NSRectFill(cellFrame); } else { if (!_browsercell_is_leaf) branch_image = [object_getClass(self) branchImage]; + + // (Don't fill the background) } // Draw the branch image if there is one