Changed Highlighting logic for range transition to only include steps or sections

This commit is contained in:
Rich 2013-07-08 19:21:39 +00:00
parent aace632c9b
commit 8ccdecf244

View File

@ -1051,7 +1051,8 @@ namespace Volian.Controls.Library
ItemInfo itm2 = (ItemInfo)node2.VEObject;
while (!itm1.IsHigh) itm1 = itm1.MyParent;
while (!itm2.IsHigh) itm2 = itm2.MyParent;
ItemInfoList itmlst = (ItemInfoList)itm1.MyParent.GetChildren();
// Get Steps or Sections Only
ItemInfoList itmlst = (ItemInfoList)itm1.MyParent.GetChildren(false);
int i1 = -1;
int i2 = -1;
int cnt = 1;