diff --git a/src/input/DesktopInput512.java b/src/input/DesktopInput512.java index 1122b3ce..7b46fe6f 100644 --- a/src/input/DesktopInput512.java +++ b/src/input/DesktopInput512.java @@ -47,8 +47,8 @@ public void drawTop(){ // Show Size NormalizeResult normalized = Placement.normalizeArea(schemX, schemY, cursorX, cursorY, 0, false, 512); - int sizeX = normalized.x - normalized.x2; - int sizeY = normalized.y - normalized.y2; + int sizeX = normalized.x2 - normalized.x + 1; + int sizeY = normalized.y2 - normalized.y + 1; String info = Integer.toString(sizeX) + ", " + Integer.toString(sizeY); ui.showLabel(info, 0.02f, cursorX * 8 + 16, cursorY * 8 - 16); }