@solidpepper/solidpepper-solidgeneration 0.1.9 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -931,7 +931,7 @@ class DataSheetSVG {
931
931
  blockY;
932
932
  if ((allBlockHeight <=
933
933
  this.DataSheet.publicationTemplateBackgroundFooterY ||
934
- nbRow === 0) &&
934
+ (nbRow === 0 && aHeightsRows.length === 0)) &&
935
935
  allBlockHeight != 0 &&
936
936
  i == 0) {
937
937
  const diffY = newRowHeights - heights;
@@ -1062,7 +1062,7 @@ class DataSheetSVG {
1062
1062
  // Go on a new line (401)
1063
1063
  if ((allBlockHeight <=
1064
1064
  this.DataSheet.publicationTemplateBackgroundFooterY ||
1065
- nbRow === 0) &&
1065
+ (nbRow === 0 && aHeightsRows.length === 0)) &&
1066
1066
  allBlockHeight != 0) {
1067
1067
  const diffY = newRowHeights - heights;
1068
1068
  heights = newRowHeights;