This commit is contained in:
@@ -62,20 +62,20 @@ namespace Volian.Controls.Library
|
||||
"<number>) ",
|
||||
"<alpha>) "
|
||||
};
|
||||
public static string TabFormat(DisplayItem myVlnCSLARTB)
|
||||
public static string TabFormat(DisplayItem myDisplayItem)
|
||||
{
|
||||
string format = string.Empty;
|
||||
if (myVlnCSLARTB.MyItem != null)
|
||||
if (myDisplayItem.MyItem != null)
|
||||
{
|
||||
int typ = (int)myVlnCSLARTB.MyItem.MyContent.Type;
|
||||
int typ = (int)myDisplayItem.MyItem.MyContent.Type;
|
||||
if (typ >= 20000)
|
||||
{
|
||||
if (myVlnCSLARTB.RNOLevel > 0 && IsRNO(myVlnCSLARTB.MyItem)) return "";
|
||||
if (myDisplayItem.RNOLevel > 0 && IsRNO(myDisplayItem.MyItem)) return "";
|
||||
// Step 1: Get TabFormat from Format
|
||||
format = _TabFormats[typ % 10000];
|
||||
if (format == "<seq>")
|
||||
{
|
||||
format = SeqTabFormat[myVlnCSLARTB.SeqLevel % SeqTabFormat.Length];
|
||||
format = SeqTabFormat[myDisplayItem.SeqLevel % SeqTabFormat.Length];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user