summaryrefslogtreecommitdiff
path: root/indra/llui/llscrollbar.cpp
diff options
context:
space:
mode:
authorprep@lindenlab.com <prep@lindenlab.com>2013-03-29 10:37:58 -0500
committerprep@lindenlab.com <prep@lindenlab.com>2013-03-29 10:37:58 -0500
commit0f24668b0a834e37a3a8767abc7b0ee51bf23fcd (patch)
tree4ae685f79c3964e1ac7246641fa9d957b25b5ee1 /indra/llui/llscrollbar.cpp
parent8e6d2f8ddc3fe8a1eee3abe99eb5abd3575c5841 (diff)
parenta62a824efb89aff3056d0659ee2c23ad6d15eeaa (diff)
Merged in Chui beta6+ fixes
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;
+}