diff options
| author | Tofu Linden <tofu.linden@lindenlab.com> | 2009-12-09 13:46:05 -0800 |
|---|---|---|
| committer | Tofu Linden <tofu.linden@lindenlab.com> | 2009-12-09 13:46:05 -0800 |
| commit | 2554a88ec17998c092368e814254c6ad3928d920 (patch) | |
| tree | 39d3e0d9abd21f36dee6d96cc02d2cb5dda3867b /indra/llui/lltextbase.cpp | |
| parent | 2af183c51d8911a7242b838394863e2606ed3fe7 (diff) | |
| parent | 6260ce6a9210192963a77e5b1f44b0d2c2c86591 (diff) | |
merge!
Diffstat (limited to 'indra/llui/lltextbase.cpp')
| -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 |
