EXT-2572 - Bottom text on bottom line in nearby chat is clipped

meow-7.2.2
richard 2009-12-08 18:43:32 -08:00
parent 8d261e9b2c
commit 7a05356749
1 changed files with 2 additions and 0 deletions

View File

@ -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