summaryrefslogtreecommitdiff
path: root/indra/llui/llurlentry.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2025-05-05 15:28:51 +0300
committerGitHub <noreply@github.com>2025-05-05 15:28:51 +0300
commit929c9b2dd0e4ff0b1b08c29267be60493010ab29 (patch)
tree3985c27b738197fecc1af170dbabe473e2f85821 /indra/llui/llurlentry.cpp
parent9ce012a0f4cb22de1e255b659d5d46192af35e92 (diff)
#4009 Add color settings for chat mentions to Preferences
Diffstat (limited to 'indra/llui/llurlentry.cpp')
-rw-r--r--indra/llui/llurlentry.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp
index 34138da34d..7218211a44 100644
--- a/indra/llui/llurlentry.cpp
+++ b/indra/llui/llurlentry.cpp
@@ -789,6 +789,8 @@ LLStyle::EUnderlineLink LLUrlEntryAgentMention::getUnderline(const std::string&
LLStyle::Params LLUrlEntryAgentMention::getStyle(const std::string& url) const
{
LLStyle::Params style_params = LLUrlEntryAgent::getStyle(url);
+ style_params.color = LLUIColorTable::instance().getColor("ChatMentionFont");
+ style_params.readonly_color = LLUIColorTable::instance().getColor("ChatMentionFont");
style_params.font.style = "NORMAL";
style_params.draw_highlight_bg = true;