Browse Source

REPORT-50662 fix ;

final/10.0
hades 3 years ago
parent
commit
b5dee97f77
  1. 2
      designer-base/src/main/java/com/fr/design/utils/gui/GUIPaintUtils.java

2
designer-base/src/main/java/com/fr/design/utils/gui/GUIPaintUtils.java

@ -43,7 +43,7 @@ public class GUIPaintUtils {
g2d.drawLine(x, height - 1, x + 3, height - 1);
} else {
if (macos) {
g2d.drawRoundRect(x, y, width - 1, height - 1, UIConstants.ARC, UIConstants.ARC)
g2d.drawRoundRect(x, y, width - 1, height - 1, UIConstants.ARC, UIConstants.ARC);
} else {
double offsetX = Math.min(GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration().getDefaultTransform().getScaleX() - 1, 0.5d);
double offsetY = Math.min(GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration().getDefaultTransform().getScaleY() - 1, 0.5d);

Loading…
Cancel
Save