diff options
author | Richard Linden <none@none> | 2010-07-29 11:56:19 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-07-29 11:56:19 -0700 |
commit | b5a94da19b7f6aa63f2860a29c0d50e21a7e8104 (patch) | |
tree | 0a01ea55d4fbfe206ac873ba63e68fe8ae044cdd /indra/llui/lltextbase.cpp | |
parent | 6a3538a693cdfa4bd8040fac951ad88916470b94 (diff) |
fix for vertical truncation of sidebar headers
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r-- | indra/llui/lltextbase.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index a580345b6c..4bcf7e6980 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -1029,8 +1029,10 @@ void LLTextBase::draw() LLUICtrl::draw(); { - // only clip if we support scrolling or have word wrap turned off - LLLocalClipRect clip(doc_rect, !getWordWrap() || mScroller != NULL); + // only clip if we support scrolling... + // since convention is that text boxes never vertically truncate their contents + // regardless of rect bounds + LLLocalClipRect clip(doc_rect, mScroller != NULL); drawSelectionBackground(); drawText(); drawCursor(); |