diff options
| author | Gilbert Gonzales <gilbert@lindenlab.com> | 2012-10-03 16:26:49 -0700 | 
|---|---|---|
| committer | Gilbert Gonzales <gilbert@lindenlab.com> | 2012-10-03 16:26:49 -0700 | 
| commit | 11d2f5a2d7a1f38f0965ce9a1511ed6a19888212 (patch) | |
| tree | 4423a1649cdeb56b6419b3e9f1487a23836a3cdd | |
| parent | 9c3bbd378332a3dca8c58d0e3e351fd038e3f61b (diff) | |
| parent | 4a02580f497bfd280d19bc7e434eb7d8fbfdab61 (diff) | |
merging in latest changes
| -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 4c730286da..be6d359c9a 100644 --- a/indra/llui/lllayoutstack.cpp +++ b/indra/llui/lllayoutstack.cpp @@ -767,7 +767,7 @@ void LLLayoutStack::updatePanelRect( LLLayoutPanel* resized_panel, const LLRect&  			{	// freeze new size as fraction  				F32 new_fractional_size = (updated_auto_resize_headroom == 0.f)  					? MAX_FRACTIONAL_SIZE -					: llclamp(total_visible_fraction * (F32)(new_dim - panelp->getRelevantMinDim()) / updated_auto_resize_headroom, MIN_FRACTIONAL_SIZE, MAX_FRACTIONAL_SIZE); +					: llclamp(total_visible_fraction * (F32)(new_dim - panelp->getRelevantMinDim() - 1) / updated_auto_resize_headroom, MIN_FRACTIONAL_SIZE, MAX_FRACTIONAL_SIZE);  				fraction_given_up -= new_fractional_size - panelp->mFractionalSize;  				fraction_remaining -= panelp->mFractionalSize;  				panelp->mFractionalSize = new_fractional_size; | 
