summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterimcontainer.cpp
diff options
context:
space:
mode:
authorCho <cho@lindenlab.com>2013-03-08 02:02:45 +0000
committerCho <cho@lindenlab.com>2013-03-08 02:02:45 +0000
commit228d868cf6b3436f9cace3db5bd304e7ea639609 (patch)
treef4ad1f32510c612ed26a1d9d6c7c7405c850f9db /indra/newview/llfloaterimcontainer.cpp
parent11199f2bef65f67f3ddd798944cb4ad62affa8ed (diff)
CHUI-772 FIX User sees no notification of conversation activity not visible in long scrolling conversation list
Added call to mConversationsRoot->arrange() in LLFloaterIMContainer::isScrolledOutOfSight()
Diffstat (limited to 'indra/newview/llfloaterimcontainer.cpp')
-rw-r--r--indra/newview/llfloaterimcontainer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp
index 74490b695c..e2b9723537 100644
--- a/indra/newview/llfloaterimcontainer.cpp
+++ b/indra/newview/llfloaterimcontainer.cpp
@@ -1881,6 +1881,9 @@ bool LLFloaterIMContainer::isScrolledOutOfSight(LLConversationViewSession* conve
{
llassert(conversation_item_widget != NULL);
+ // make sure the widget is actually in the right spot first
+ mConversationsRoot->arrange(NULL, NULL);
+
// check whether the widget is in the visible portion of the scroll container
LLRect widget_rect;
conversation_item_widget->localRectToOtherView(conversation_item_widget->getLocalRect(), &widget_rect, mConversationsRoot);