mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:00:37 +00:00
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:
parent
80f7ffdb5f
commit
902527511b
9 changed files with 138 additions and 564 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue