mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:40:38 +00:00
Bugfix by Benhur-de-Oliveira.Stein@imag.fr
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3556 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b4c33e2403
commit
ea065125ea
2 changed files with 9 additions and 2 deletions
|
@ -1009,8 +1009,10 @@ static NSMutableDictionary *colorStrings = nil;
|
|||
|
||||
- (NSColor *)colorWithAlphaComponent:(float)alpha
|
||||
{
|
||||
[self setAlpha: alpha];
|
||||
return self;
|
||||
NSColor *aCopy = [self copy];
|
||||
if (aCopy)
|
||||
[aCopy setAlpha: alpha];
|
||||
return aCopy;
|
||||
}
|
||||
|
||||
- (NSColor*) highlightWithLevel: (float)level
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue