From 19d9cf8d8e4e195d83f9f67ced515bd6bd4566ed Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 11 Dec 2009 16:48:05 -0800 Subject: ext-3404 - script editor scrolls to the bottom and sticks --- indra/llui/lltextbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') 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; -- cgit v1.2.3