Fixed the TableSpaceAvailable logic (B2016-038) which made print think a table was taller than it actually was.

This commit is contained in:
John Jenko 2016-04-13 16:37:46 +00:00
parent c72522730c
commit ac49c296cd

View File

@ -1367,9 +1367,9 @@ namespace Volian.Print.Library
float retval = 0;
if(_ChildrenBelow!= null)
foreach (vlnParagraph pgh in _ChildrenBelow)
retval += pgh.TableSpaceAvailable;
retval = pgh.TableSpaceAvailable;
if (MyGrid != null)
retval += MyGrid.SpaceAvailable;
retval = MyGrid.SpaceAvailable;
return retval;
}
}