Browse Source

REPORT-33944 大于允许的精度之外才是大于

bugfix/10.0
Henry.Wang 4 years ago
parent
commit
a6648211e9
  1. 2
      designer-realize/src/main/java/com/fr/grid/GridUI.java

2
designer-realize/src/main/java/com/fr/grid/GridUI.java

@ -342,7 +342,7 @@ public class GridUI extends ComponentUI {
}
// paint paper margin line.
if (showPaginateLine && (float)paperSumSize > (float) paperPaintSize) {
if (showPaginateLine && paperSumSize - paperPaintSize > 1.0E-7D) {
paginateLineList.add(getPaginateLine2D((int) sumSize));
paperSumSize = tmpSize;
}

Loading…
Cancel
Save