diff options
author | Oz Linden <oz@lindenlab.com> | 2013-03-29 17:31:00 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-03-29 17:31:00 -0400 |
commit | 7333731bbca764fdac87173fa5a6e5f2bb46c1d2 (patch) | |
tree | 5a2fd2d0b95dc6ac0dea8f535918912ce43872b2 /indra/llui/llscrollbar.cpp | |
parent | cf1747712b154b6984cf374cf9c86f68a1210fb3 (diff) | |
parent | 430b8547c46cc70d57ed20cd0917be33380350a7 (diff) |
merge changes for DRTVWR-306
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; +} |