diff options
author | Richard Linden <none@none> | 2012-02-02 11:35:36 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2012-02-02 11:35:36 -0800 |
commit | 8f1f84212bb0b9ae85ef680ff20acfa4bcacd5cd (patch) | |
tree | ae7ad530ac1f4c50a7620d9eb11e6f6abc436f40 /indra | |
parent | 8d6665b5c2ac1d42d72dab025623d3ae14291ccb (diff) |
EXP-1858 FIX Received Items panel heading in incorrect position
didn't account properly for collapsed panels
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llui/lllayoutstack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lllayoutstack.cpp b/indra/llui/lllayoutstack.cpp index 05261432e3..31e0434753 100644 --- a/indra/llui/lllayoutstack.cpp +++ b/indra/llui/lllayoutstack.cpp @@ -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); |