From 02230e9152bd2b962a681d7fee759ef258914eb7 Mon Sep 17 00:00:00 2001 From: "pkasting@chromium.org" Date: Wed, 27 May 2009 23:39:36 +0000 Subject: Fix erroneous sign when drawing path for right endcap of tabs, causing them to not be selectable for much of the right endcap. Review URL: http://codereview.chromium.org/115836 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17038 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/tabs/tab.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/browser/views/tabs/tab.cc b/chrome/browser/views/tabs/tab.cc index 037cb41..6118699 100644 --- a/chrome/browser/views/tabs/tab.cc +++ b/chrome/browser/views/tabs/tab.cc @@ -272,7 +272,7 @@ void Tab::MakePathForTab(gfx::Path* path) const { path->lineTo(w - kTabCapWidth, 0); // Right end cap. - path->lineTo(w - kTabCapWidth - kTabTopCurveWidth, kTabTopCurveWidth); + path->lineTo(w - kTabCapWidth + kTabTopCurveWidth, kTabTopCurveWidth); path->lineTo(w - kTabBottomCurveWidth, h - kTabBottomCurveWidth); path->lineTo(w, h); -- cgit v1.1