summaryrefslogtreecommitdiff
path: root/indra/llui/llmultisliderctrl.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-02-25 18:59:43 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-02-25 20:13:05 +0200
commitdb2c32285b95d3517ebcd1dbf84faa2872ab6428 (patch)
tree7d09897627402abd6c6ebe694941eaf8f81e598f /indra/llui/llmultisliderctrl.h
parentd16a79fc4c5d5af016db6c97efc3a7b2d08f62ce (diff)
SL-12591 Fixed slider value comparison
Diffstat (limited to 'indra/llui/llmultisliderctrl.h')
-rw-r--r--indra/llui/llmultisliderctrl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/llmultisliderctrl.h b/indra/llui/llmultisliderctrl.h
index e16737b3c7..adb28676ec 100644
--- a/indra/llui/llmultisliderctrl.h
+++ b/indra/llui/llmultisliderctrl.h
@@ -107,6 +107,7 @@ public:
void setMaxValue(F32 max_value) {mMultiSlider->setMaxValue(max_value);}
void setIncrement(F32 increment) {mMultiSlider->setIncrement(increment);}
+ F32 getNearestIncrement(F32 value) const { return mMultiSlider->getNearestIncrement(value); }
F32 getSliderValueFromPos(S32 x, S32 y) const { return mMultiSlider->getSliderValueFromPos(x, y); }
LLRect getSliderThumbRect(const std::string &name) const { return mMultiSlider->getSliderThumbRect(name); }