diff options
author | richard <none@none> | 2009-12-11 16:48:05 -0800 |
---|---|---|
committer | richard <none@none> | 2009-12-11 16:48:05 -0800 |
commit | 19d9cf8d8e4e195d83f9f67ced515bd6bd4566ed (patch) | |
tree | bc7301dc4956d4491cfa5702317bf27ff8a118f0 /indra/llui | |
parent | 9ad76199e50f35749eded1ab1c10bebd265c1dbf (diff) |
ext-3404 - script editor scrolls to the bottom and sticks
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/lltextbase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index 18f0295d66..1f120a1483 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -1075,7 +1075,7 @@ void LLTextBase::reflow(S32 start_index) // shrink document to minimum size (visible portion of text widget) // to force inlined widgets with follows set to shrink - mDocumentView->setShape(mVisibleTextRect); + mDocumentView->reshape(mVisibleTextRect.getWidth(), mDocumentView->getRect().getHeight()); bool scrolled_to_bottom = mScroller ? mScroller->isAtBottom() : false; |