B2017-102: For figures, don’t add extra line for change bar lengths

B2017-102: Add an offset for width to locate Change Bars on supplemental information
This commit is contained in:
2017-06-05 13:14:44 +00:00
parent b24c748d2f
commit 21223b9b1f
4 changed files with 15 additions and 3 deletions

View File

@@ -106,7 +106,7 @@ namespace Volian.Print.Library
Messages = new SortedDictionary<float, vlnChangeBarMessage>();
// if there is an RNO separator, add the separator's height in too.
float scale = parent.MyItemInfo.IsRtfRaw ? 0.6f : 1; // use scale for equations (B2016-265)
Height = (scale * parent.Height) * MyPageHelper.YMultiplier + (parent.MyItemInfo.IsFigure?SixLinesPerInch:0);
Height = (scale * parent.Height) * MyPageHelper.YMultiplier; // B2017-102, removed the extra line (was making changebar to long)
foreach (vlnPrintObject vpo in parent.PartsBelow)
{
if (vpo is vlnRNOSeparator)