diff options
author | Rider Linden <rider@lindenlab.com> | 2018-07-30 15:55:33 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2018-07-30 15:55:33 -0700 |
commit | dbbb89a13c99dce50b5c2a124bd3a5ccc23ef7f6 (patch) | |
tree | 51217fdcd57e3adcbe7ba6e428c4e0f0a68012a3 /indra/llui/llmultisliderctrl.cpp | |
parent | d6ede8e81cad497a6cd8482dfb48c99bdf5c258a (diff) | |
parent | d7ae8a0d28483a8ed5d93152177aa655266f7004 (diff) |
Merge
Diffstat (limited to 'indra/llui/llmultisliderctrl.cpp')
-rw-r--r-- | indra/llui/llmultisliderctrl.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llmultisliderctrl.cpp b/indra/llui/llmultisliderctrl.cpp index a982d431b3..d2afca19b7 100644 --- a/indra/llui/llmultisliderctrl.cpp +++ b/indra/llui/llmultisliderctrl.cpp @@ -53,6 +53,7 @@ LLMultiSliderCtrl::Params::Params() can_edit_text("can_edit_text", false), max_sliders("max_sliders", 1), allow_overlap("allow_overlap", false), + overlap_threshold("overlap_threshold", 0), draw_track("draw_track", true), use_triangle("use_triangle", false), decimal_digits("decimal_digits", 3), @@ -167,6 +168,10 @@ LLMultiSliderCtrl::LLMultiSliderCtrl(const LLMultiSliderCtrl::Params& p) params.increment(p.increment); params.max_sliders(p.max_sliders); params.allow_overlap(p.allow_overlap); + if (p.overlap_threshold.isProvided()) + { + params.overlap_threshold = p.overlap_threshold; + } params.draw_track(p.draw_track); params.use_triangle(p.use_triangle); params.control_name(p.control_name); |