B2017-029 added a check for editing a deviation document before doing some special positioning
This commit is contained in:
parent
be1a86b43a
commit
30369c2630
@ -2892,7 +2892,8 @@ namespace Volian.Controls.Library
|
|||||||
top=Math.Max(top, ei.Bottom);
|
top=Math.Max(top, ei.Bottom);
|
||||||
}
|
}
|
||||||
Location = new Point(_MyPreviousEditItem.Left, top);
|
Location = new Point(_MyPreviousEditItem.Left, top);
|
||||||
if (MyParent.MyItemInfo.IsHigh)
|
// B2017-029 only do this if this is a the deviation document
|
||||||
|
if (MyItemInfo.ActiveFormat.MyStepSectionLayoutData.Dev_Format && MyParent.MyItemInfo.IsHigh)
|
||||||
{
|
{
|
||||||
int bot = MyParent.FindBottomDevDoc;
|
int bot = MyParent.FindBottomDevDoc;
|
||||||
int DDHeight = bot - FirstSiblingEditItem.Top;//Determine the height of the step including cautions and notes
|
int DDHeight = bot - FirstSiblingEditItem.Top;//Determine the height of the step including cautions and notes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user