diff options
| author | Oz Linden <oz@lindenlab.com> | 2013-04-02 12:14:44 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2013-04-02 12:14:44 -0400 |
| commit | 699fe4369949ba03959312c90335ac37d80ac275 (patch) | |
| tree | 715cca856cf96328a37a5ba3e83e20c171893655 /indra/llui/llscrollbar.cpp | |
| parent | effaca51841d6f07403b196a8d972861bb7e0f05 (diff) | |
| parent | 90b56ee9fa95ca8cc15e3abc81977f504eb32c5b (diff) | |
merge changes for 3.5.0-beta7
Diffstat (limited to 'indra/llui/llscrollbar.cpp')
| -rw-r--r-- | indra/llui/llscrollbar.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llscrollbar.cpp b/indra/llui/llscrollbar.cpp index 5d3bf7a670..13887cbe73 100644 --- a/indra/llui/llscrollbar.cpp +++ b/indra/llui/llscrollbar.cpp @@ -642,3 +642,8 @@ void LLScrollbar::onLineDownBtnPressed( const LLSD& data ) { changeLine( mStepSize, TRUE ); } + +void LLScrollbar::setThickness(S32 thickness) +{ + mThickness = thickness < 0 ? LLUI::sSettingGroups["config"]->getS32("UIScrollbarSize") : thickness; +} |
