mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 14:10:37 +00:00
Cell modifications to remove unecessary images/color changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17406 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
97c4ec53d8
commit
766b747938
10 changed files with 27 additions and 39 deletions
|
@ -260,7 +260,6 @@ static NSFont *_leafFont;
|
|||
image_rect.origin.x += cellFrame.size.width - image_rect.size.width - 4.0;
|
||||
image_rect.origin.y
|
||||
+= (cellFrame.size.height - image_rect.size.height) / 2.0;
|
||||
[image setBackgroundColor: backColor];
|
||||
/*
|
||||
* Images are always drawn with their bottom-left corner at the origin
|
||||
* so we must adjust the position to take account of a flipped view.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue