Feature Request: Allow use of a separate color for linked usernames.
The setting is HTMLAgentColor, I will not add this to preferences for now. Note that usernames before the colon in the chat are cached, set before login to change it for everyone or relog. Also hook up getStyle() for the registered urls, cleans up some code in lltexteditor.
This commit is contained in:
@@ -58,7 +58,7 @@ const LLStyleSP &LLStyleMap::lookupAgent(const LLUUID &source)
|
||||
LLStyleSP style(new LLStyle);
|
||||
if (source.notNull())
|
||||
{
|
||||
style->setColor(gSavedSettings.getColor4("HTMLLinkColor"));
|
||||
style->setColor(gSavedSettings.getColor4("HTMLAgentColor"));
|
||||
std::string link = llformat("secondlife:///app/agent/%s/about",source.asString().c_str());
|
||||
style->setLinkHREF(link);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user