diff options
author | Richard Linden <none@none> | 2012-01-30 18:32:35 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2012-01-30 18:32:35 -0800 |
commit | f3ddb75b0373f22fe0bb2f46b0a30f018bddc0ee (patch) | |
tree | adb128a04e308d920f96e5773d15cf47c661dc64 /indra/llui/lllayoutstack.h | |
parent | 3249a1ced0a4d0bc45d04f5794c989e12e62033b (diff) |
EXP-1851 WIP Crash when trying to resize the bottom sections
fixed layout logic when dealing with invisibile layout_panels
Diffstat (limited to 'indra/llui/lllayoutstack.h')
-rw-r--r-- | indra/llui/lllayoutstack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lllayoutstack.h b/indra/llui/lllayoutstack.h index efe93f6def..6c14a56444 100644 --- a/indra/llui/lllayoutstack.h +++ b/indra/llui/lllayoutstack.h @@ -157,7 +157,7 @@ public: S32 getMinDim() const { return (mMinDim >= 0 || mAutoResize) ? llmax(0, mMinDim) : getLayoutDim(); } void setMinDim(S32 value) { mMinDim = value; } - S32 getExpandedMinDim() const { return mExpandedMinDim >= 0 ? mExpandedMinDim : mMinDim; } + S32 getExpandedMinDim() const { return mExpandedMinDim >= 0 ? mExpandedMinDim : getMinDim(); } void setExpandedMinDim(S32 value) { mExpandedMinDim = value; } S32 getRelevantMinDim() const |