diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j index 9030fe25e..d4c186c59 100644 --- a/AppKit/CPTableView.j +++ b/AppKit/CPTableView.j @@ -521,7 +521,6 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5; _destinationDragStyle = CPTableViewDraggingDestinationFeedbackStyleRegular; _contentBindingExplicitlySet = NO; - // [self setBackgroundColor:[CPColor whiteColor]]; [self _init]; } @@ -592,6 +591,20 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5; [self _initSubclass]; } +- (void)setThemeState:(CPThemeState)aState +{ + [super setThemeState:aState]; + [self setBackgroundColor:[self hasThemeState:CPThemeStateHUD] ? [CPColor clearColor] : [CPColor whiteColor]]; + +} + +- (void)unsetThemeState:(CPThemeState)aState +{ + [super unsetThemeState:aState]; + [self setBackgroundColor:[self hasThemeState:CPThemeStateHUD] ? [CPColor clearColor] : [CPColor whiteColor]]; + +} + - (void)_initSubclass { _selectedColumnBackgroundViews = [];