diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-07-30 13:33:19 +0300 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-07-30 13:33:19 +0300 |
commit | e263923d79c2732bbd1e372ccac42d2302b345ce (patch) | |
tree | c4ad5f8ba3c7ff6456a04fa9e22e3844074dcb54 /indra/llui | |
parent | c13048fd8aa273fc3a7fe6b69f0a27ffa25eef43 (diff) | |
parent | 2c86deb92a9756e83e0e074dc4de17b2105c9d50 (diff) |
Merge from default branch
--HG--
branch : product-engine
Diffstat (limited to 'indra/llui')
-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(); |