mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 15:06:24 +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
25d07c1ec7
commit
36be3e7686
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