diff options
author | Merov Linden <merov@lindenlab.com> | 2012-03-01 13:31:17 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2012-03-01 13:31:17 -0800 |
commit | 24789f11cc58cf7c03283a8e9648085a5cb9d7d8 (patch) | |
tree | bade7e21ca009bdb6a9f89b155732876bb02035d /indra/llui/llscrolllistcell.cpp | |
parent | a7499dc4abfa5fa7582dc7ebb535a07ed94d0c4f (diff) | |
parent | 66f101bac591d82b71ab7dc976b6fed0ed451909 (diff) |
Pull from viewer-experience
Diffstat (limited to 'indra/llui/llscrolllistcell.cpp')
-rw-r--r-- | indra/llui/llscrolllistcell.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llscrolllistcell.cpp b/indra/llui/llscrolllistcell.cpp index b087602a56..8000efad0e 100644 --- a/indra/llui/llscrolllistcell.cpp +++ b/indra/llui/llscrolllistcell.cpp @@ -232,7 +232,7 @@ BOOL LLScrollListText::getVisible() const //virtual S32 LLScrollListText::getHeight() const { - return llround(mFont->getLineHeight()); + return mFont->getLineHeight(); } @@ -306,7 +306,7 @@ void LLScrollListText::draw(const LLColor4& color, const LLColor4& highlight_col break; } LLRect highlight_rect(left - 2, - llround(mFont->getLineHeight()) + 1, + mFont->getLineHeight() + 1, left + mFont->getWidth(mText.getString(), mHighlightOffset, mHighlightCount) + 1, 1); mRoundedRectImage->draw(highlight_rect, highlight_color); |