summaryrefslogtreecommitdiff
path: root/indra/llui/llchatentry.cpp
diff options
context:
space:
mode:
authorPaul ProductEngine <pguslisty@productengine.com>2012-06-26 19:08:27 +0300
committerPaul ProductEngine <pguslisty@productengine.com>2012-06-26 19:08:27 +0300
commit677c205131e695eb5a3b2a190799330b49d636d8 (patch)
tree04df3722a2a05264000a3f3862e9a848e437349e /indra/llui/llchatentry.cpp
parent9c11a6b206f2455e37cf3ba8719bf6b51bc994e8 (diff)
CHUI-182 FIXED (Vertical scrollbar flashes on and off when chat entry text area expands)
- To avoid unnecessary appearing of scrollbar, first chat entry must be expanded and only then decision should be taken in the base class whether scrollbar should be shown or not.
Diffstat (limited to 'indra/llui/llchatentry.cpp')
-rw-r--r--indra/llui/llchatentry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llchatentry.cpp b/indra/llui/llchatentry.cpp
index a6ba125406..2a6ccc3dc9 100644
--- a/indra/llui/llchatentry.cpp
+++ b/indra/llui/llchatentry.cpp
@@ -57,12 +57,12 @@ LLChatEntry::~LLChatEntry()
void LLChatEntry::draw()
{
- LLTextEditor::draw();
-
if(mIsExpandable)
{
expandText();
}
+
+ LLTextEditor::draw();
}
void LLChatEntry::onCommit()