Made the "i" button on avatarlists be always on instead of on hover. [FIRE-475]

meow-7.2.2
WoLf 2011-07-19 14:27:22 +02:00
parent 04cd85886e
commit 53134660b8
1 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ BOOL LLAvatarListItem::postBuild()
mInfoBtn = getChild<LLButton>("info_btn");
mProfileBtn = getChild<LLButton>("profile_btn");
mInfoBtn->setVisible(false);
mInfoBtn->setVisible(true); // changed from false to have the info button always shown -WoLf
mInfoBtn->setClickedCallback(boost::bind(&LLAvatarListItem::onInfoBtnClick, this));
mProfileBtn->setVisible(false);
@ -237,7 +237,7 @@ void LLAvatarListItem::onMouseLeave(S32 x, S32 y, MASK mask)
{
getChildView("hovered_icon")->setVisible( false);
mInfoBtn->setVisible(false);
// mInfoBtn->setVisible(false); // commented out to have the info button always shown -WoLf
mHovered = false;
LLPanel::onMouseLeave(x, y, mask);
updateChildren();