Draw image background even when clear

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11654 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2001-12-07 22:52:42 +00:00
parent 25d07c1ec7
commit 36be3e7686
9 changed files with 138 additions and 564 deletions

View file

@ -796,7 +796,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
- (BOOL) drawRepresentation: (NSImageRep *)imageRep inRect: (NSRect)aRect
{
if (_color != nil && [_color alphaComponent] != 0.0)
if (_color != nil)
{
[_color set];
NSRectFill(aRect);