summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-02-02 11:35:36 -0800
committerRichard Linden <none@none>2012-02-02 11:35:36 -0800
commit8f1f84212bb0b9ae85ef680ff20acfa4bcacd5cd (patch)
treeae7ad530ac1f4c50a7620d9eb11e6f6abc436f40 /indra
parent8d6665b5c2ac1d42d72dab025623d3ae14291ccb (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.cpp2
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);