mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-13 21:42:32 +00:00
Fixed wrong background drawing in MPTableView
This commit is contained in:
@@ -11,7 +11,12 @@
|
|||||||
@implementation MPTableView
|
@implementation MPTableView
|
||||||
|
|
||||||
- (void)drawBackgroundInClipRect:(NSRect)clipRect {
|
- (void)drawBackgroundInClipRect:(NSRect)clipRect {
|
||||||
|
/*
|
||||||
|
We need to clear the outer areas
|
||||||
|
as calling super will not do that for us
|
||||||
|
*/
|
||||||
|
[[NSColor whiteColor] set];
|
||||||
|
NSRectFill(clipRect);
|
||||||
[super drawBackgroundInClipRect:clipRect];
|
[super drawBackgroundInClipRect:clipRect];
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
Reference in New Issue
Block a user