mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:20:38 +00:00
Draw the background colour even when it is the clear colour.
(Fixes issue on xlib backend) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27302 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
657bbb61c8
commit
e9aba06b34
2 changed files with 8 additions and 2 deletions
|
@ -953,7 +953,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
|||
|
||||
PSgsave();
|
||||
|
||||
if (_color != nil && [_color alphaComponent] != 0.0)
|
||||
if (_color != nil)
|
||||
{
|
||||
NSRect fillrect = aRect;
|
||||
|
||||
|
@ -1267,7 +1267,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
|||
}
|
||||
|
||||
repd->bg = [_color copy];
|
||||
if (_color != nil && [_color alphaComponent] != 0.0)
|
||||
if (_color != nil)
|
||||
{
|
||||
// Won't be needed when drawRepresentation: gets called,
|
||||
// but we never know.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue