summaryrefslogtreecommitdiff
path: root/indra/llui/llmultisliderctrl.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2018-09-06 21:29:28 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2018-09-06 21:29:28 +0300
commite539236a75a163b1c6748617bd1e4d2b84aaa3d6 (patch)
treeb1ac6d1694d25aa5c4abe8d2e42b1fdbd255559a /indra/llui/llmultisliderctrl.cpp
parent14107dd0625af06dcf2019940eaf8e8d66585658 (diff)
MAINT-9099 Implementation of vertical orientation support for multislider
Diffstat (limited to 'indra/llui/llmultisliderctrl.cpp')
-rw-r--r--indra/llui/llmultisliderctrl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llmultisliderctrl.cpp b/indra/llui/llmultisliderctrl.cpp
index 4c2936eb69..73792206a6 100644
--- a/indra/llui/llmultisliderctrl.cpp
+++ b/indra/llui/llmultisliderctrl.cpp
@@ -54,6 +54,7 @@ LLMultiSliderCtrl::Params::Params()
max_sliders("max_sliders", 1),
allow_overlap("allow_overlap", false),
loop_overlap("loop_overlap", false),
+ orientation("orientation"),
overlap_threshold("overlap_threshold", 0),
draw_track("draw_track", true),
use_triangle("use_triangle", false),
@@ -170,6 +171,7 @@ LLMultiSliderCtrl::LLMultiSliderCtrl(const LLMultiSliderCtrl::Params& p)
params.max_sliders(p.max_sliders);
params.allow_overlap(p.allow_overlap);
params.loop_overlap(p.loop_overlap);
+ params.orientation(p.orientation());
if (p.overlap_threshold.isProvided())
{
params.overlap_threshold = p.overlap_threshold;