Skip to content
Snippets Groups Projects
Commit d8347252 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Small opts and bug fixes

parent b0012636
No related branches found
No related tags found
No related merge requests found
......@@ -687,9 +687,10 @@ std::string LLUrlEntryAgent::getLabel(const std::string &url, const LLUrlLabelCa
LLStyle::Params LLUrlEntryAgent::getStyle() const
{
static const LLUIColor html_link_col = LLUIColorTable::instance().getColor("HTMLLinkColor");
LLStyle::Params style_params = LLUrlEntryBase::getStyle();
style_params.color = LLUIColorTable::instance().getColor("HTMLLinkColor");
style_params.readonly_color = LLUIColorTable::instance().getColor("HTMLLinkColor");
style_params.color = html_link_col;
style_params.readonly_color = html_link_col;
return style_params;
}
......@@ -953,9 +954,10 @@ std::string LLUrlEntryGroup::getLabel(const std::string &url, const LLUrlLabelCa
LLStyle::Params LLUrlEntryGroup::getStyle() const
{
static const LLUIColor html_link_col = LLUIColorTable::instance().getColor("HTMLLinkColor");
LLStyle::Params style_params = LLUrlEntryBase::getStyle();
style_params.color = LLUIColorTable::instance().getColor("HTMLLinkColor");
style_params.readonly_color = LLUIColorTable::instance().getColor("HTMLLinkColor");
style_params.color = html_link_col;
style_params.readonly_color = html_link_col;
return style_params;
}
......
......@@ -313,7 +313,6 @@
<color_swatch
can_apply_immediately="true"
color="0 0 0 1"
control_name="NameTagBackground"
follows="left|top"
height="24"
label_height="0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment