diff options
author | Oz Linden <oz@lindenlab.com> | 2013-06-19 13:59:52 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-06-19 13:59:52 -0400 |
commit | e23228fef2834587af490d0345f29212445666d8 (patch) | |
tree | dfa761027aca1227ec1817707f8141b833c061df /indra/llui/llscrollbar.cpp | |
parent | c880c961bb2a0838bc529efc07cfeb12f5636d88 (diff) | |
parent | 8a330ee2eb1008951f5e5159057fa5736dd805b4 (diff) |
merge 3.5.0-release
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; +} |