1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

override isOpaque for the status bar and filter bar

This commit is contained in:
Mitchell Livingston 2011-06-09 02:15:22 +00:00
parent 83eefe11bd
commit 334aa46d60
2 changed files with 15 additions and 0 deletions

View file

@ -48,6 +48,11 @@
return NO; return NO;
} }
- (BOOL) isOpaque
{
return YES;
}
- (void) drawRect: (NSRect) rect - (void) drawRect: (NSRect) rect
{ {
NSInteger count = 0; NSInteger count = 0;

View file

@ -56,6 +56,16 @@
[super dealloc]; [super dealloc];
} }
- (BOOL) mouseDownCanMoveWindow
{
return YES;
}
- (BOOL) isOpaque
{
return YES;
}
- (void) drawRect: (NSRect) rect - (void) drawRect: (NSRect) rect
{ {
const BOOL active = [[self window] isMainWindow]; const BOOL active = [[self window] isMainWindow];