EXP-1858 FIX Received Items panel heading in incorrect position

didn't account properly for collapsed panels
master
Richard Linden 2012-02-02 11:35:36 -08:00
parent 8d6665b5c2
commit 8f1f84212b
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ void LLLayoutStack::updateLayout()
panelp->mTargetDim = panelp->getRelevantMinDim();
}
space_to_distribute -= panelp->getVisibleDim() + llround((F32)mPanelSpacing * panelp->getVisibleAmount());
total_visible_fraction += panelp->mFractionalSize * panelp->getVisibleAmount();
total_visible_fraction += panelp->mFractionalSize * panelp->getAutoResizeFactor();
}
llassert(total_visible_fraction < 1.05f);