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

Unified Diff: chrome/browser/chromeos/status/power_menu_button.cc

Issue 1589021: Status area improvements:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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
Index: chrome/browser/chromeos/status/power_menu_button.cc
===================================================================
--- chrome/browser/chromeos/status/power_menu_button.cc (revision 44004)
+++ chrome/browser/chromeos/status/power_menu_button.cc (working copy)
@@ -115,10 +115,8 @@
}
void PowerMenuButton::DrawPowerIcon(gfx::Canvas* canvas, SkBitmap icon) {
- // Draw the battery icon 6 pixels down to center it.
- // Because the status icon is 24x24 but the images are 24x16.
- // But since the images are shifted up by 4 pixels, we draw at 6 pixels down.
- static const int kIconVerticalPadding = 6;
+ // Draw the battery icon 5 pixels down to center it.
+ static const int kIconVerticalPadding = 5;
canvas->DrawBitmapInt(icon, 0, kIconVerticalPadding);
}

Powered by Google App Engine
This is Rietveld 408576698