summaryrefslogtreecommitdiff
path: root/indra/llui/llscrollbar.cpp
diff options
context:
space:
mode:
authorNyx Linden <nyx@lindenlab.com>2013-04-02 16:02:13 -0400
committerNyx Linden <nyx@lindenlab.com>2013-04-02 16:02:13 -0400
commit323a2f2235a52383bcfbae79bdce9e61ca808d2a (patch)
tree313d298add46edae3dadc1f3426b8fa68f9452fe /indra/llui/llscrollbar.cpp
parent557adcabb925acbcc79f39f76f7cb74b6202a8da (diff)
parent49731dd21dec5fb8b6e5781940bab5f5fa9600a2 (diff)
pulling in sunshine-stable to sunshine-internal.
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;
+}