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:
parent
83eefe11bd
commit
334aa46d60
2 changed files with 15 additions and 0 deletions
|
@ -48,6 +48,11 @@
|
|||
return NO;
|
||||
}
|
||||
|
||||
- (BOOL) isOpaque
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void) drawRect: (NSRect) rect
|
||||
{
|
||||
NSInteger count = 0;
|
||||
|
|
|
@ -56,6 +56,16 @@
|
|||
[super dealloc];
|
||||
}
|
||||
|
||||
- (BOOL) mouseDownCanMoveWindow
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (BOOL) isOpaque
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void) drawRect: (NSRect) rect
|
||||
{
|
||||
const BOOL active = [[self window] isMainWindow];
|
||||
|
|
Loading…
Reference in a new issue