Related to EXT-4309, better commented onMouselookOut method

--HG--
branch : product-engine
master
Eugene Mutavchi 2010-01-18 17:10:11 +02:00
parent e8cbd586a9
commit 5b44c7c624
1 changed files with 4 additions and 0 deletions

View File

@ -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();
}