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>
|
<key>HTMLAgentColor</key>
|
||||||
<map>
|
<map>
|
||||||
<key>Comment</key>
|
<key>Comment</key>
|
||||||
<string>Color of hyperlinked usernames</string>
|
<string>Color of hyperlinked user/object names</string>
|
||||||
<key>Persist</key>
|
<key>Persist</key>
|
||||||
<integer>1</integer>
|
<integer>1</integer>
|
||||||
<key>Type</key>
|
<key>Type</key>
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ const LLStyleSP &LLStyleMap::lookup(const LLUUID& id, const std::string& link)
|
|||||||
LLStyleSP style(new LLStyle);
|
LLStyleSP style(new LLStyle);
|
||||||
if (id.notNull() && !link.empty())
|
if (id.notNull() && !link.empty())
|
||||||
{
|
{
|
||||||
style->setColor(gSavedSettings.getColor4("HTMLLinkColor"));
|
style->setColor(gSavedSettings.getColor4("HTMLAgentColor"));
|
||||||
style->setLinkHREF(link);
|
style->setLinkHREF(link);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -102,6 +102,6 @@ void LLStyleMap::update()
|
|||||||
{
|
{
|
||||||
LLStyleSP &style = iter->second;
|
LLStyleSP &style = iter->second;
|
||||||
// Update the link color in case it has been changed.
|
// 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