aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llslider.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llui/llslider.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/llui/llslider.cpp b/linden/indra/llui/llslider.cpp
index 7b4da9b..83b4d65 100644
--- a/linden/indra/llui/llslider.cpp
+++ b/linden/indra/llui/llslider.cpp
@@ -222,6 +222,12 @@ BOOL LLSlider::handleMouseDown(S32 x, S32 y, MASK mask)
222 return TRUE; 222 return TRUE;
223} 223}
224 224
225BOOL LLSlider::handleScrollWheel(S32 x, S32 y, S32 clicks)
226{
227 setValueAndCommit(getValueF32() - ( getIncrement()* (F32)clicks ));
228 return TRUE;
229}
230
225BOOL LLSlider::handleKeyHere(KEY key, MASK mask) 231BOOL LLSlider::handleKeyHere(KEY key, MASK mask)
226{ 232{
227 BOOL handled = FALSE; 233 BOOL handled = FALSE;