RNOs displayed before substeps for enhanced background flag
Improved arrowing for backgrounds with RNO before substeps
This commit is contained in:
@@ -1782,6 +1782,8 @@ namespace Volian.Controls.Library
|
||||
AddChildAfter(MyItemInfo.Procedures, expand);
|
||||
if (MyItemInfo.RNOs != null && MyItemInfo.RNOLevel < MyItemInfo.ColumnMode)
|
||||
AddChildRNO(MyItemInfo.RNOs, expand);
|
||||
if (MyItemInfo.RNOs != null && ((MyItemInfo.ActiveFormat.PlantFormat.FormatData.PurchaseOptions.Value & E_PurchaseOptions.EnhancedBackgrounds) == E_PurchaseOptions.EnhancedBackgrounds))
|
||||
AddChildAfter(MyItemInfo.RNOs, expand);
|
||||
AddChildAfter(MyItemInfo.Tables, expand);
|
||||
// get the config item for the steps section. there is an 'editable'
|
||||
// flag used in metasections to define whether the steps should print.
|
||||
@@ -1793,7 +1795,8 @@ namespace Volian.Controls.Library
|
||||
bool EditSteps = !hasMetaSubs || (MyItemInfo.MyConfig is SectionConfig && (MyItemInfo.MyConfig as SectionConfig).SubSection_Edit == "Y");
|
||||
if (EditSteps) AddChildAfter(MyItemInfo.Steps, expand);
|
||||
|
||||
if (MyItemInfo.RNOs != null && MyItemInfo.RNOLevel >= MyItemInfo.ColumnMode)
|
||||
if (MyItemInfo.RNOs != null && MyItemInfo.RNOLevel >= MyItemInfo.ColumnMode &&
|
||||
!((MyItemInfo.ActiveFormat.PlantFormat.FormatData.PurchaseOptions.Value & E_PurchaseOptions.EnhancedBackgrounds) == E_PurchaseOptions.EnhancedBackgrounds))
|
||||
AddChildRNO(MyItemInfo.RNOs, expand);
|
||||
AddChildAfter(MyItemInfo.Sections, expand);
|
||||
MatchExpanded();
|
||||
|
Reference in New Issue
Block a user