1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 08:13: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;
}
- (BOOL) isOpaque
{
return YES;
}
- (void) drawRect: (NSRect) rect
{
NSInteger count = 0;

View file

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