Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Unified Diff: chrome/browser/ui/cocoa/hover_close_button.mm

Issue 10556030: mac: Fix close button appearance in HiDPI. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: . Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/molokocacao/NSBezierPath+MCAdditions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/hover_close_button.mm
diff --git a/chrome/browser/ui/cocoa/hover_close_button.mm b/chrome/browser/ui/cocoa/hover_close_button.mm
index 43bbc5c04f9d22bf28e86fff470c1c497331a8ca..e61409a54c9e3fd8dfc0bb826e56e9317089a7f5 100644
--- a/chrome/browser/ui/cocoa/hover_close_button.mm
+++ b/chrome/browser/ui/cocoa/hover_close_button.mm
@@ -315,8 +315,8 @@ NSString* const kFadeOutValueKeyPath = @"fadeOutValue";
kXShadowCircleAlpha : kXShadowAlpha;
[shadow setShadowColor:[NSColor colorWithCalibratedWhite:0.15 alpha:alpha]];
[shadow setShadowOffset:NSMakeSize(0.0, 0.0)];
- [shadow setShadowBlurRadius:2.75 * scale];
- [xPath fillWithInnerShadow:shadow scale:scale];
+ [shadow setShadowBlurRadius:2.5];
+ [xPath fillWithInnerShadow:shadow];
return imageRep;
}
« no previous file with comments | « no previous file | third_party/molokocacao/NSBezierPath+MCAdditions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698