summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_button.mm
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-25 17:41:18 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-25 17:41:18 +0000
commita999b0e58e1ca80435c7322df5cb229b64be113f (patch)
treec64e03e45997b9a9971927d35df0038d11de82b8 /chrome/browser/cocoa/bookmark_button.mm
parent2ae20e7f03d9302a880e8fd6aac1ca2433454223 (diff)
downloadchromium_src-a999b0e58e1ca80435c7322df5cb229b64be113f.zip
chromium_src-a999b0e58e1ca80435c7322df5cb229b64be113f.tar.gz
chromium_src-a999b0e58e1ca80435c7322df5cb229b64be113f.tar.bz2
Mac: give visual feedback for bookmark button drags.
Draw a "ugly black bar" (where "black" is actually a theme colour) to indicate where a bookmark button that's being dragged will end up if dropped. This is a stopgap measure for the beta. Later, we will make the buttons move around instead (even if implementable in the time remaining, such animations would be a crash risk). BUG=17608 TEST=Drag bookmark bar buttons around. Make sure that the bar indicating where a button will be dropped is visible enough and accurate. Repeat with various themes. Review URL: http://codereview.chromium.org/437051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33079 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/bookmark_button.mm')
-rw-r--r--chrome/browser/cocoa/bookmark_button.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/bookmark_button.mm b/chrome/browser/cocoa/bookmark_button.mm
index 1fdf4a3..38b549f 100644
--- a/chrome/browser/cocoa/bookmark_button.mm
+++ b/chrome/browser/cocoa/bookmark_button.mm
@@ -18,7 +18,7 @@ const CGFloat kWebDragStartHysteresisX = 5.0;
const CGFloat kWebDragStartHysteresisY = 5.0;
// The opacity of the bookmark button drag image.
-const CGFloat kDragImageOpacity = 0.8;
+const CGFloat kDragImageOpacity = 0.7;
}