Restore Legacy Behavior: Display tooltips on scrolllisttext cells as long as there's text there, not just if that text is truncated

This commit is contained in:
Inusaito Sayori
2013-08-19 22:59:57 -04:00
parent 51532aa22c
commit 241b153aaf

View File

@@ -238,8 +238,11 @@ BOOL LLScrollListText::needsToolTip() const
if (LLScrollListCell::needsToolTip())
return LLScrollListCell::needsToolTip();
/* Singu Note: To maintain legacy behavior, show tooltips for any text
// ...otherwise, show tooltips for truncated text
return mFont->getWidth(mText.getString()) > getWidth();
*/
return !mText.empty();
}
//virtual