From dad87be6e5f69b9a3b7094c0bb9aada9dfe04caa Mon Sep 17 00:00:00 2001 From: stippi Date: Wed, 3 Mar 2010 10:07:37 +0000 Subject: [PATCH] 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 --- .../webpositive/autocompletion/AutoCompleterDefaultImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/webpositive/autocompletion/AutoCompleterDefaultImpl.cpp b/src/apps/webpositive/autocompletion/AutoCompleterDefaultImpl.cpp index 6f41c235a0..7818f5b81b 100644 --- a/src/apps/webpositive/autocompletion/AutoCompleterDefaultImpl.cpp +++ b/src/apps/webpositive/autocompletion/AutoCompleterDefaultImpl.cpp @@ -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;