mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
* Source/NSBrowserCell.m (-drawInteriorWithFrame:inView:):
Restore code to draw the background when the cell is highligted git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34337 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b2e98ecb59
commit
52b39d8923
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-12-20 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSBrowserCell.m (-drawInteriorWithFrame:inView:):
|
||||
Restore code to draw the background when the cell is highligted
|
||||
|
||||
2011-12-18 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSSavePanel.m (-browser:createRowsForColumn:inMatrix:):
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue