diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/upload/GLWindow.java b/src/hdskins/java/com/voxelmodpack/hdskins/upload/GLWindow.java index 59d7b1bb..32cd28a5 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/upload/GLWindow.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/upload/GLWindow.java @@ -66,7 +66,7 @@ public class GLWindow extends DropTarget { } private static int getScaledPixelUnit(int i) { - return Math.max((int)Math.floor(i * Display.getPixelScaleFactor()), 0); + return Math.max((int)Math.round(i * Display.getPixelScaleFactor()), 0); } private final Minecraft mc = Minecraft.getMinecraft();