summaryrefslogtreecommitdiff
path: root/indra/llui/llmultislider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui/llmultislider.cpp')
-rw-r--r--indra/llui/llmultislider.cpp18
1 files changed, 16 insertions, 2 deletions
diff --git a/indra/llui/llmultislider.cpp b/indra/llui/llmultislider.cpp
index c35b7c5496..ece6edd285 100644
--- a/indra/llui/llmultislider.cpp
+++ b/indra/llui/llmultislider.cpp
@@ -731,7 +731,14 @@ void LLMultiSlider::draw()
// the draw command
if (mThumbImagep)
{
- mThumbImagep->draw(mIt->second);
+ if (getEnabled())
+ {
+ mThumbImagep->draw(mIt->second);
+ }
+ else
+ {
+ mThumbImagep->draw(mIt->second, LLColor4::grey % 0.8f);
+ }
}
else if (capture == this)
{
@@ -748,7 +755,14 @@ void LLMultiSlider::draw()
{
if (mThumbImagep)
{
- mThumbImagep->draw(curSldrIt->second);
+ if (getEnabled())
+ {
+ mThumbImagep->draw(curSldrIt->second);
+ }
+ else
+ {
+ mThumbImagep->draw(curSldrIt->second, LLColor4::grey % 0.8f);
+ }
}
else if (capture == this)
{