summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-05-28 16:55:12 -0700
committerRichard Linden <none@none>2010-05-28 16:55:12 -0700
commit2703125698914e1f2f440b94ac03902f218ebc38 (patch)
treef233af9e323c3f2727e29e0c9e483ffab45a1bea /indra/llui/lltextbase.cpp
parent6efbbfa0805c337b3f7e476fd743a964bc68d09e (diff)
Backed out changeset: 13b29333f1db
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r--indra/llui/lltextbase.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index d7bbb8a56e..851fb966ec 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -957,18 +957,7 @@ void LLTextBase::reshape(S32 width, S32 height, BOOL called_from_parent)
{
if (width != getRect().getWidth() || height != getRect().getHeight())
{
- //EXT-4288
- //to keep consistance scrolling behaviour
- //when scrolling from top and from bottom...
- bool is_scrolled_to_end = (mScroller!=NULL) && scrolledToEnd();
-
LLUICtrl::reshape( width, height, called_from_parent );
-
- if (is_scrolled_to_end)
- {
- deselect();
- endOfDoc();
- }
// do this first after reshape, because other things depend on
// up-to-date mVisibleTextRect