Browse Source

win: Underline's color tends to be a little lighter.

Cheng Zhao 10 years ago
parent
commit
1dabd20d99
1 changed files with 2 additions and 0 deletions
  1. 2 0
      atom/browser/ui/views/menu_bar.cc

+ 2 - 0
atom/browser/ui/views/menu_bar.cc

@@ -79,6 +79,8 @@ void MenuBar::SetMenu(ui::MenuModel* model) {
     button->SetHighlightColor(highlight_color_);
     button->SetHoverColor(hover_color_);
     button->SetUnderlineColor(enabled_color_);
+#elif defined(OS_WIN)
+    button->SetUnderlineColor(color_utils::GetSysSkColor(COLOR_GRAYTEXT));
 #endif
 
     AddChildView(button);