Fixed wrong background drawing in MPTableView

This commit is contained in:
michael starke
2013-06-08 11:13:49 +02:00
parent 929871e682
commit fab145ce77

View File

@@ -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