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())
|
||||
{
|
||||
mImageOverlay = NULL;
|
||||
mImageOverlaySelectedColor = LLColor4::white;
|
||||
}
|
||||
else
|
||||
{
|
||||
mImageOverlay = LLUI::getUIImage(image_name);
|
||||
mImageOverlayAlignment = alignment;
|
||||
mImageOverlaySelectedColor = color;
|
||||
mImageOverlayColor = color;
|
||||
}
|
||||
}
|
||||
@@ -1077,11 +1079,13 @@ void LLButton::setImageOverlay(const LLUUID& image_id, LLFontGL::HAlign alignmen
|
||||
if (image_id.isNull())
|
||||
{
|
||||
mImageOverlay = NULL;
|
||||
mImageOverlaySelectedColor = LLColor4::white;
|
||||
}
|
||||
else
|
||||
{
|
||||
mImageOverlay = LLUI::getUIImageByID(image_id);
|
||||
mImageOverlayAlignment = alignment;
|
||||
mImageOverlaySelectedColor = color;
|
||||
mImageOverlayColor = color;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user