diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-10-05 19:31:35 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-10-05 19:31:35 +0300 |
commit | b030d7036f87d30babb4a8df8d256113f46182e9 (patch) | |
tree | 5d0cbb90954fee95b1c2b0304f117866a5f2b3cc /indra/llui/llmultislider.cpp | |
parent | 931ff63019042e45a6ad5ad3df1624c4a49187c3 (diff) |
SL-1961 EEP correct disabling of altitude multislider and cleanup
Diffstat (limited to 'indra/llui/llmultislider.cpp')
-rw-r--r-- | indra/llui/llmultislider.cpp | 18 |
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) { |