use CTGradient fill function
This commit is contained in:
parent
cf4f43f090
commit
566ec81269
|
@ -60,7 +60,7 @@
|
|||
- (void) drawRect: (NSRect) rect
|
||||
{
|
||||
if (fShow)
|
||||
[fGradient drawInRect: rect angle: 90];
|
||||
[fGradient fillRect: rect angle: 90];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in New Issue