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:
parent
83eefe11bd
commit
334aa46d60
2 changed files with 15 additions and 0 deletions
|
@ -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;
|
||||||
|
|
|
@ -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];
|
||||||
|
|
Loading…
Reference in a new issue