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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user