Related to EXT-4309, better commented onMouselookOut method
--HG-- branch : product-enginemaster
parent
e8cbd586a9
commit
5b44c7c624
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue