SL-10141 FIXED [EEP] Neighboring sky levels may be closer than 100 meters to each other in edit mode

meow-7.2.2
maxim_productengine 2018-11-29 17:55:23 +02:00
parent ace17533c9
commit 58ffb2e4b1
2 changed files with 3 additions and 2 deletions

View File

@ -113,9 +113,9 @@ LLMultiSlider::LLMultiSlider(const LLMultiSlider::Params& p)
setMouseUpCallback(initCommitCallback(p.mouse_up_callback));
}
if (p.overlap_threshold.isProvided())
if (p.overlap_threshold.isProvided() && p.overlap_threshold > mIncrement)
{
mOverlapThreshold = p.overlap_threshold;
mOverlapThreshold = p.overlap_threshold - mIncrement;
}
else
{

View File

@ -252,6 +252,7 @@
width="17"
orientation="vertical"
increment="10"
overlap_threshold="100"
min_val="100"
max_val="4000"
layout="topleft"