Changed code to correctly handle the location of check-offs and sign-offs.
This commit is contained in:
parent
12f492516f
commit
60fc6bbd18
@ -1471,9 +1471,9 @@ namespace Volian.Print.Library
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.XLocation != null)
|
if (formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.XLocation != 0)
|
||||||
xloc_co += (float)formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.XLocation;
|
xloc_co += (float)formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.XLocation;
|
||||||
if (formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.RelXLocation != null)
|
else if (formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.RelXLocation != 0)
|
||||||
{
|
{
|
||||||
float relX = (float)formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.RelXLocation;
|
float relX = (float)formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.RelXLocation;
|
||||||
xloc_co = XOffset + (relX > 0 ? Width : 0) + relX;
|
xloc_co = XOffset + (relX > 0 ? Width : 0) + relX;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user