[haiku-webkit-commits] r274 - webkit/trunk/WebKit/haiku/WebPositive/autocompletion

  • From: webkit@xxxxxxxxxxxxxxx
  • To: haiku-webkit-commits@xxxxxxxxxxxxx
  • Date: Wed, 03 Mar 2010 10:07:37 +0000

Author: stippi
Date: Wed Mar  3 10:07:37 2010
New Revision: 274
URL: http://mmlr.dyndns.org/changeset/274

Log:
Better to darken the match color, this makes it visible also in non-selected
choice items.

Modified:
   
webkit/trunk/WebKit/haiku/WebPositive/autocompletion/AutoCompleterDefaultImpl.cpp

Modified: 
webkit/trunk/WebKit/haiku/WebPositive/autocompletion/AutoCompleterDefaultImpl.cpp
==============================================================================
--- 
webkit/trunk/WebKit/haiku/WebPositive/autocompletion/AutoCompleterDefaultImpl.cpp
   Wed Mar  3 10:07:06 2010        (r273)
+++ 
webkit/trunk/WebKit/haiku/WebPositive/autocompletion/AutoCompleterDefaultImpl.cpp
   Wed Mar  3 10:07:37 2010        (r274)
@@ -251,7 +251,7 @@
                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;

Other related posts:

  • » [haiku-webkit-commits] r274 - webkit/trunk/WebKit/haiku/WebPositive/autocompletion - webkit