diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-16 18:46:59 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-16 18:46:59 +0000 |
commit | 820e9a488fa9a96e708a890ac882fdf826632912 (patch) | |
tree | 73a16e541c6bd2a19d361f03cba193d238fb6bd0 /third_party/molokocacao/NSBezierPath+MCAdditions.h | |
parent | 274fd47adf3a817c820f662512210394f4e31578 (diff) | |
download | chromium_src-820e9a488fa9a96e708a890ac882fdf826632912.zip chromium_src-820e9a488fa9a96e708a890ac882fdf826632912.tar.gz chromium_src-820e9a488fa9a96e708a890ac882fdf826632912.tar.bz2 |
mac: Fix close button appearance in HiDPI.
Revert the explicit "scale" parts of r142304. In 10.7.3, the
backing scale factor did not apply to shadowOffset and
shadowBlurRadius. This appears fixed in 10.7.4, and retina
MBPs ship with 10.7.4 -- so the manual scaling caused the
scale to be applied twice, which moved the shadow off the
close button.
BUG=133134
TEST=look at a tab close button
TBR=rsesek
Review URL: https://chromiumcodereview.appspot.com/10556030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142607 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/molokocacao/NSBezierPath+MCAdditions.h')
-rw-r--r-- | third_party/molokocacao/NSBezierPath+MCAdditions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/molokocacao/NSBezierPath+MCAdditions.h b/third_party/molokocacao/NSBezierPath+MCAdditions.h index eb64479..f56660f 100644 --- a/third_party/molokocacao/NSBezierPath+MCAdditions.h +++ b/third_party/molokocacao/NSBezierPath+MCAdditions.h @@ -16,7 +16,7 @@ - (NSBezierPath*)pathWithStrokeWidth:(CGFloat)strokeWidth; -- (void)fillWithInnerShadow:(NSShadow *)shadow scale:(float)scale; +- (void)fillWithInnerShadow:(NSShadow *)shadow; - (void)drawBlurWithColor:(NSColor*)color radius:(CGFloat)radius; - (void)strokeInside; |