From b97ac4a163565f94281aa004d19685932497deeb Mon Sep 17 00:00:00 2001 From: Hecklezz Date: Sat, 24 May 2025 00:01:44 +1000 Subject: [PATCH] Reverts changes made to make search highlighted text font colour change --- indra/llui/lltextbase.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index a3d57f6690..68b619f4b4 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -1530,19 +1530,7 @@ void LLTextBase::draw() bg_rect.intersectWith( text_rect ); gl_rect_2d( text_rect, bg_color, true ); - - // Additionally set the font color of highlighted text instead of using LabelTextColor - const LLColor4& font_color = ll::ui::SearchableControl::getHighlightFontColor(); - setColor(font_color); - // } - // Set the font color back to LabelTextColor if not highlighted - else - { - const LLColor4& font_color = LLUIColorTable::instance().getColor("LabelTextColor"); - setColor(font_color); - } - // bool should_clip = mClip || mScroller != NULL; // Fix text bleeding at top edge of scrolling text editors