From 7ea6df9049e3f92b351db42d7f95ed94a46c50dc Mon Sep 17 00:00:00 2001 From: Rich Date: Wed, 4 Jun 2014 18:30:32 +0000 Subject: [PATCH] Correctly calculating the size of a high-level step (YSize) to include the box surrounding the first step --- PROMS/Volian.Print.Library/vlnParagraph.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index 543d4a8a..1c85fa15 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -2882,7 +2882,7 @@ namespace Volian.Print.Library get { float ysize = SmartTemplateAdjust + _YBottomMost - _YTopMost; - if (MyItemInfo.IsHigh && MyItemInfo.MyPrevious != null && ((MyItemInfo.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DoubleBoxHLS) == E_DocStructStyle.DoubleBoxHLS)) + if (MyItemInfo.IsHigh && ((MyItemInfo.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DoubleBoxHLS) == E_DocStructStyle.DoubleBoxHLS)) ysize += SixLinesPerInch; return ysize; }