summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorEugene Mutavchi <emutavchi@productengine.com>2010-01-18 17:10:11 +0200
committerEugene Mutavchi <emutavchi@productengine.com>2010-01-18 17:10:11 +0200
commit5b44c7c624ca3f9c6cee3c8712fd39fbe1341fc0 (patch)
tree6d6f1f5171a09db3490060353ec43b92263317f5 /indra/newview
parente8cbd586a91e8bd787fa42e28ece62ca3affc75b (diff)
Related to EXT-4309, better commented onMouselookOut method
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llbottomtray.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp
index 8a7ed23b59..fe43ab7084 100644
--- a/indra/newview/llbottomtray.cpp
+++ b/indra/newview/llbottomtray.cpp
@@ -284,9 +284,13 @@ void LLBottomTray::onMouselookModeOut()
// and then restore children saved shapes. See EXT-4309.
BOOL saved_anim = mToolbarStack->getAnimate();
mToolbarStack->updatePanelAutoResize(PANEL_CHATBAR_NAME, FALSE);
+ // Disable animation to prevent layout updating in several frames.
mToolbarStack->setAnimate(FALSE);
+ // Force the updating of layout to reset panels collapse factor.
mToolbarStack->updateLayout();
+ // Restore animate state.
mToolbarStack->setAnimate(saved_anim);
+ // Restore saved shapes.
restorePanelsShape();
}