mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
Fix background coloring
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38851 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
91919e85d1
commit
ddf97e6fba
1 changed files with 12 additions and 9 deletions
|
@ -462,19 +462,22 @@
|
|||
|
||||
- (BOOL) isOpaque
|
||||
{
|
||||
#if 0 //TESTPLANT-MAL-MERGE-06202015 - this breaks some drawing...
|
||||
// FIXME: Depends on theme; if always returning NO is a performance hit
|
||||
// we can check if GSTheme is going to draw an old-style opaque box
|
||||
// or not.
|
||||
return NO;
|
||||
// if (_box_type == NSBoxCustom)
|
||||
// {
|
||||
// return !_transparent;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// return YES;
|
||||
// }
|
||||
}
|
||||
#else
|
||||
if (_box_type == NSBoxCustom)
|
||||
{
|
||||
return !_transparent;
|
||||
}
|
||||
else
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
- (NSColor*) fillColor
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue