diff options
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/client/Scissors.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/client/Scissors.java b/src/main/java/io/github/cottonmc/cotton/gui/client/Scissors.java index e7c7e72..5e29d34 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/client/Scissors.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/client/Scissors.java @@ -81,7 +81,7 @@ public final class Scissors { } } - int windowHeight = mc.getWindow().getHeight(); + int windowHeight = mc.getWindow().getFramebufferHeight(); double scale = mc.getWindow().getScaleFactor(); int scaledWidth = (int) (width * scale); int scaledHeight = (int) (height * scale); |