diff --git a/AppKit/CPBrowser.j b/AppKit/CPBrowser.j index 77e3700f8..19bfc97fb 100644 --- a/AppKit/CPBrowser.j +++ b/AppKit/CPBrowser.j @@ -96,7 +96,7 @@ _prototypeView = [[CPTextField alloc] initWithFrame:CGRectMakeZero()]; [_prototypeView setVerticalAlignment:CPCenterVerticalTextAlignment]; - [_prototypeView setValue:[CPColor whiteColor] forThemeAttribute:"text-color" inState:CPThemeStateSelected]; + [_prototypeView setValue:[CPColor whiteColor] forThemeAttribute:"text-color" inState:CPThemeStateSelectedDataView]; [_prototypeView setLineBreakMode:CPLineBreakByTruncatingTail]; _horizontalScrollView = [[CPScrollView alloc] initWithFrame:[self bounds]]; @@ -923,7 +923,7 @@ var _CPBrowserResizeControlBackgroundImage = nil; positioned:CPWindowAbove relativeToEphemeralSubviewNamed:nil]; - var isHighlighted = [self themeState] & CPThemeStateSelected; + var isHighlighted = [self themeState] & CPThemeStateSelectedDataView; [imageView setImage: _isLeaf ? (isHighlighted ? _highlightedBranchImage : _branchImage) : nil]; [imageView setImageScaling:CPScaleNone]; }