Fixed logic where a section that was set to print continuous started on its own page
This commit is contained in:
parent
3237a2345b
commit
89cf100425
@ -106,7 +106,7 @@ namespace Volian.Print.Library
|
||||
if (ChildrenBelow.Count > 1)
|
||||
firstChild = ChildrenBelow[1];
|
||||
}
|
||||
else if (firstChild != null && firstChild.MyItemInfo != null && !firstChild.MyItemInfo.IsNumbered) // If not numbered get the last child
|
||||
else if (!MyItemInfo.IsSection && firstChild != null && firstChild.MyItemInfo != null && !firstChild.MyItemInfo.IsNumbered) // If not numbered get the last child
|
||||
firstChild = firstChild.MyParent.ChildrenBelow[firstChild.MyParent.ChildrenBelow.Count - 1];
|
||||
float ySizeIncludingFirst = firstChild == null ? YSize : firstChild.YSize + (firstChild.YTopMost - YTopMost);
|
||||
bool KeepStepsOnPage = MyItemInfo.ActiveFormat.MyStepSectionLayoutData.KeepStepsOnPage;
|
||||
|
Loading…
x
Reference in New Issue
Block a user