X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/3e6ffde0979aded206bb6741114253dc0615cc9c..40172152adfcef7971072e82b8eb226ecb9b127c:/ITButtonCell.m diff --git a/ITButtonCell.m b/ITButtonCell.m index 7885dc3..938e571 100755 --- a/ITButtonCell.m +++ b/ITButtonCell.m @@ -51,6 +51,7 @@ if ( _subStyle == ITGrayRoundedBezelStyle ) { [self drawGrayRoundedBezelWithFrame:rect inView:controlView]; [super drawInteriorWithFrame:rect inView:controlView]; + [[controlView superview] setNeedsDisplay:YES]; } else { [super drawWithFrame:rect inView:controlView]; } @@ -85,10 +86,14 @@ if ( [self isHighlighted] ) { alpha = 0.50; } - + [[NSColor colorWithCalibratedWhite:0.0 alpha:alpha] set]; [path fill]; } +- (BOOL)isOpaque +{ + return NO; +} @end