|
|
|
@ -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); |
|
|
|
|