Fix image positioning in NSCell

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4043 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-04-07 21:17:48 +00:00
parent ff90dd0388
commit a332c8f19c
2 changed files with 10 additions and 1 deletions

View file

@ -635,7 +635,7 @@ static inline NSPoint centerSizeInRect(NSSize innerSize, NSRect outerRect)
* so we must adjust the position to take account of a flipped view.
*/
if ([control_view isFlipped])
position.y -= size.height;
position.y += size.height;
[image compositeToPoint: position operation: NSCompositeCopy];
}