summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-27 16:10:10 +0000
committerglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-27 16:10:10 +0000
commit6d68331166aa8e283c254cd6d83057541b74e9fc (patch)
tree10b06861bb8345643bb64aa87bac37ee7310259b
parent919fecf675aacc3ad402786da51a21ae07fcd461 (diff)
downloadchromium_src-6d68331166aa8e283c254cd6d83057541b74e9fc.zip
chromium_src-6d68331166aa8e283c254cd6d83057541b74e9fc.tar.gz
chromium_src-6d68331166aa8e283c254cd6d83057541b74e9fc.tar.bz2
Window controls were aligned to the top of the window, so their rollover states caused the window border not to be shown.
Review URL: http://codereview.chromium.org/4044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3999 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/views/frame/opaque_non_client_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/frame/opaque_non_client_view.cc b/chrome/browser/views/frame/opaque_non_client_view.cc
index cef4f8b..c7a235d 100644
--- a/chrome/browser/views/frame/opaque_non_client_view.cc
+++ b/chrome/browser/views/frame/opaque_non_client_view.cc
@@ -286,7 +286,7 @@ ChromeFont OpaqueNonClientView::title_font_;
// The distance between the top of the window and the top of the window
// controls when the window is restored.
-static const int kWindowControlsTopOffset = 0;
+static const int kWindowControlsTopOffset = 1;
// The distance between the right edge of the window and the right edge of the
// right-most window control when the window is restored.
static const int kWindowControlsRightOffset = 4;