diff --git a/AppKit/CPWindow/_CPHUDWindowView.j b/AppKit/CPWindow/_CPHUDWindowView.j index 5c2a94630..49a850fd0 100644 --- a/AppKit/CPWindow/_CPHUDWindowView.j +++ b/AppKit/CPWindow/_CPHUDWindowView.j @@ -185,6 +185,11 @@ var HUD_TITLEBAR_HEIGHT = 26.0; return [CPColor whiteColor]; } +- (CPColor)toolbarLabelShadowColor +{ + return [CPColor blackColor]; +} + - (CGSize)toolbarOffset { return CGSizeMake(0.0, HUD_TITLEBAR_HEIGHT); diff --git a/AppKit/CPWindow/_CPWindowView.j b/AppKit/CPWindow/_CPWindowView.j index 66f8d85ca..db9f598e2 100644 --- a/AppKit/CPWindow/_CPWindowView.j +++ b/AppKit/CPWindow/_CPWindowView.j @@ -283,6 +283,9 @@ var _CPWindowViewResizeIndicatorImage = nil; { [toolbarView removeFromSuperview]; [toolbarView setLabelColor:[self toolbarLabelColor]]; + + if ([self respondsToSelector:@selector(toolbarLabelShadowColor)]) + [toolbarView setLabelShadowColor:[self toolbarLabelShadowColor]]; [self addSubview:toolbarView]; }