diff options
author | richard <none@none> | 2009-12-08 18:43:32 -0800 |
---|---|---|
committer | richard <none@none> | 2009-12-08 18:43:32 -0800 |
commit | 7a05356749664a3208f966945d2ddd628ebdaa32 (patch) | |
tree | 58264a66ad223210a39950ab51035b20045f0960 | |
parent | 8d261e9b2c9c1b92df51b3289654e413e726aa6c (diff) |
EXT-2572 - Bottom text on bottom line in nearby chat is clipped
-rw-r--r-- | indra/llui/lltextbase.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index 2a9515171a..e0503a0844 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -2080,6 +2080,8 @@ void LLTextBase::updateRects() } mContentsRect.mTop += mVPad; + // subtract a pixel off the bottom to deal with rounding errors in measuring font height + mContentsRect.mBottom -= 1; S32 delta_pos = -mContentsRect.mBottom; // move line segments to fit new document rect |