summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
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();
}