B2017-040 Allow range transitions start and end at different step levels
This commit is contained in:
@@ -1127,7 +1127,7 @@ namespace Volian.Controls.Library
|
||||
Boolean switchIds = false;
|
||||
// check for order of hls first, then do within sibling list.
|
||||
if (toItem.MyHLS.Ordinal > rangeItem.MyHLS.Ordinal) switchIds = true;
|
||||
else if (toItem.Ordinal > rangeItem.Ordinal) switchIds = true;
|
||||
else if ((toItem.StepLevel == rangeItem.StepLevel) && toItem.Ordinal > rangeItem.Ordinal) switchIds = true; // B2017-040 don't switch if To and From HLS are not the same
|
||||
if (switchIds)
|
||||
{
|
||||
ItemInfo switchItem = toItem;
|
||||
|
Reference in New Issue
Block a user