Fix voice icon in chat floater tab
This commit is contained in:
@@ -1063,11 +1063,13 @@ void LLButton::setImageOverlay(const std::string& image_name, LLFontGL::HAlign a
|
|||||||
if (image_name.empty())
|
if (image_name.empty())
|
||||||
{
|
{
|
||||||
mImageOverlay = NULL;
|
mImageOverlay = NULL;
|
||||||
|
mImageOverlaySelectedColor = LLColor4::white;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mImageOverlay = LLUI::getUIImage(image_name);
|
mImageOverlay = LLUI::getUIImage(image_name);
|
||||||
mImageOverlayAlignment = alignment;
|
mImageOverlayAlignment = alignment;
|
||||||
|
mImageOverlaySelectedColor = color;
|
||||||
mImageOverlayColor = color;
|
mImageOverlayColor = color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1077,11 +1079,13 @@ void LLButton::setImageOverlay(const LLUUID& image_id, LLFontGL::HAlign alignmen
|
|||||||
if (image_id.isNull())
|
if (image_id.isNull())
|
||||||
{
|
{
|
||||||
mImageOverlay = NULL;
|
mImageOverlay = NULL;
|
||||||
|
mImageOverlaySelectedColor = LLColor4::white;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mImageOverlay = LLUI::getUIImageByID(image_id);
|
mImageOverlay = LLUI::getUIImageByID(image_id);
|
||||||
mImageOverlayAlignment = alignment;
|
mImageOverlayAlignment = alignment;
|
||||||
|
mImageOverlaySelectedColor = color;
|
||||||
mImageOverlayColor = color;
|
mImageOverlayColor = color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user