B2017-040 Allow range transitions start and end at different step levels
This commit is contained in:
parent
17b402ab95
commit
36ed82ba43
@ -1127,7 +1127,7 @@ namespace Volian.Controls.Library
|
|||||||
Boolean switchIds = false;
|
Boolean switchIds = false;
|
||||||
// check for order of hls first, then do within sibling list.
|
// check for order of hls first, then do within sibling list.
|
||||||
if (toItem.MyHLS.Ordinal > rangeItem.MyHLS.Ordinal) switchIds = true;
|
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)
|
if (switchIds)
|
||||||
{
|
{
|
||||||
ItemInfo switchItem = toItem;
|
ItemInfo switchItem = toItem;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user