Better to darken the match color, this makes it visible also in non-selected

choice items.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@274 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
stippi 2010-03-03 10:07:37 +00:00 committed by Alexandre Deckner
parent e25584f3c5
commit dad87be6e5

View File

@ -251,7 +251,7 @@ BDefaultChoiceView::ListItem::DrawItem(BView* owner, BRect frame,
textCol = ui_color(B_DOCUMENT_TEXT_COLOR);
backCol = ui_color(B_DOCUMENT_BACKGROUND_COLOR);
}
matchCol = tint_color(backCol, B_LIGHTEN_2_TINT);
matchCol = tint_color(backCol, (B_NO_TINT + B_DARKEN_1_TINT) / 2);
BFont font;
font_height fontHeight;