summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-03-05 23:00:47 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-03-06 08:50:53 +0200
commit616547993a6ad3135987d75eca9f753438984985 (patch)
tree459daa74ce019362711a11f9e87ebae3667861a2
parentaa060ae56c62869bb1d0f590e9a6eb681aabcefc (diff)
#3654 Searchable disabled settings not readable when highlighted
-rw-r--r--indra/llui/llscrolllistctrl.cpp2
-rw-r--r--indra/llui/llsearchablecontrol.h2
-rw-r--r--indra/newview/skins/default/colors.xml3
3 files changed, 5 insertions, 2 deletions
diff --git a/indra/llui/llscrolllistctrl.cpp b/indra/llui/llscrolllistctrl.cpp
index 93bd3c6bed..943aff1ca1 100644
--- a/indra/llui/llscrolllistctrl.cpp
+++ b/indra/llui/llscrolllistctrl.cpp
@@ -3394,7 +3394,7 @@ bool LLScrollListCtrl::highlightMatchingItems(const std::string& filter_str)
bool res = false;
- setHighlightedColor(LLUIColorTable::instance().getColor("SearchableControlHighlightColor", LLColor4::red));
+ setHighlightedColor(LLUIColorTable::instance().getColor("SearchableControlHighlightColor", LLColor4::red4));
std::string filter_str_lc(filter_str);
LLStringUtil::toLower(filter_str_lc);
diff --git a/indra/llui/llsearchablecontrol.h b/indra/llui/llsearchablecontrol.h
index 119852b763..7f1421dd19 100644
--- a/indra/llui/llsearchablecontrol.h
+++ b/indra/llui/llsearchablecontrol.h
@@ -45,7 +45,7 @@ namespace ll
const LLColor4& getHighlightColor( ) const
{
- static LLUIColor highlight_color = LLUIColorTable::instance().getColor("SearchableControlHighlightColor", LLColor4::red);
+ static LLUIColor highlight_color = LLUIColorTable::instance().getColor("SearchableControlHighlightColor", LLColor4::red4);
return highlight_color.get();
}
diff --git a/indra/newview/skins/default/colors.xml b/indra/newview/skins/default/colors.xml
index 92f63a1820..e17321e698 100644
--- a/indra/newview/skins/default/colors.xml
+++ b/indra/newview/skins/default/colors.xml
@@ -759,6 +759,9 @@
name="SelectedOutfitTextColor"
reference="EmphasisColor" />
<color
+ name="SearchableControlHighlightColor"
+ value="0.5 0.1 0.1 1" />
+ <color
name="SilhouetteChildColor"
value="0.13 0.42 0.77 1" />
<color