Do it for object names too, otherwise talking through scripts looks wrong
Also this is needed for local chat ^^;
This commit is contained in:
@@ -9075,7 +9075,7 @@ This should be as low as possible, but too low may break functionality</string>
|
||||
<key>HTMLAgentColor</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Color of hyperlinked usernames</string>
|
||||
<string>Color of hyperlinked user/object names</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
|
||||
@@ -77,7 +77,7 @@ const LLStyleSP &LLStyleMap::lookup(const LLUUID& id, const std::string& link)
|
||||
LLStyleSP style(new LLStyle);
|
||||
if (id.notNull() && !link.empty())
|
||||
{
|
||||
style->setColor(gSavedSettings.getColor4("HTMLLinkColor"));
|
||||
style->setColor(gSavedSettings.getColor4("HTMLAgentColor"));
|
||||
style->setLinkHREF(link);
|
||||
}
|
||||
else
|
||||
@@ -102,6 +102,6 @@ void LLStyleMap::update()
|
||||
{
|
||||
LLStyleSP &style = iter->second;
|
||||
// Update the link color in case it has been changed.
|
||||
style->setColor(gSavedSettings.getColor4("HTMLLinkColor"));
|
||||
style->setColor(gSavedSettings.getColor4("HTMLAgentColor"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user