summaryrefslogtreecommitdiff
path: root/indra/llui/llscrollbar.cpp
diff options
context:
space:
mode:
authorNyx Linden <nyx@lindenlab.com>2013-03-29 18:06:05 -0400
committerNyx Linden <nyx@lindenlab.com>2013-03-29 18:06:05 -0400
commitadc4f8d02e1184b3072a4ff511594d31c3cd68e0 (patch)
tree24ca324105772f18b70135f7d68bcc88cc993b83 /indra/llui/llscrollbar.cpp
parent8e7c04f1d0ef6a7be800a7f3539f301aaededd14 (diff)
parentab272c20a914c4816cee55db7a4bdd0217580630 (diff)
merge
Diffstat (limited to 'indra/llui/llscrollbar.cpp')
-rw-r--r--indra/llui/llscrollbar.cpp5
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;
+}