Permalink
Browse files

Harden up the inset shadow on progress bar.

  • Loading branch information...
1 parent 0d38cbc commit 503476fa70a67a75cc02e88717600bf94f1a69a0 Danny Greg committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/UIKit/TUIProgressBar.m
@@ -96,7 +96,7 @@ - (id)initWithFrame:(CGRect)frame style:(TUIProgressBarStyle)style {
//Drop shadow
[NSGraphicsContext saveGraphicsState];
CGContextSetBlendMode([[NSGraphicsContext currentContext] graphicsPort], kCGBlendModeScreen);
- [[NSColor colorWithCalibratedWhite:1.0 alpha:0.35] set];
+ [[NSColor colorWithCalibratedWhite:1.0 alpha:0.54] set];
CGFloat y = NSMinY(view.bounds);
[NSBezierPath strokeLineFromPoint:NSMakePoint(NSMinX(view.bounds) + radius, y) toPoint:NSMakePoint((NSMaxX(view.bounds) - radius), y)];
[NSGraphicsContext restoreGraphicsState];

0 comments on commit 503476f

Please sign in to comment.