Browse Source

Merge pull request #1408 in DESIGN/design from ~HADES/design:feature/10.0 to feature/10.0

* commit '860fceece6f2200798f6bd712482f2ff325be3a4':
  无jira sonar
persist/11.0
Hades 5 years ago
parent
commit
156a6bcab0
  1. 4
      designer-base/src/main/java/com/fr/design/icon/BorderIcon.java

4
designer-base/src/main/java/com/fr/design/icon/BorderIcon.java

@ -85,9 +85,9 @@ public class BorderIcon implements Icon {
cellBorderStyle.getBottomColor());
drawLine(gr, x1, y1, x1, y2, cellBorderStyle.getLeftStyle(),
cellBorderStyle.getLeftColor());
drawLine(gr, defaultWidth / 2, y1, defaultWidth / 2, y2,
drawLine(gr, defaultWidth / 2.0, y1, defaultWidth / 2.0, y2,
cellBorderStyle.getVerticalStyle(), cellBorderStyle.getVerticalColor());
drawLine(gr, x1, defaultHeight / 2, x2, defaultHeight / 2,
drawLine(gr, x1, defaultHeight / 2.0, x2, defaultHeight / 2.0,
cellBorderStyle.getHorizontalStyle(), cellBorderStyle.getHorizontalColor());
}

Loading…
Cancel
Save