mirror of
https://github.com/electron/electron.git
synced 2026-01-25 23:38:18 -05:00
win: Underline's color tends to be a little lighter.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user