From e5844474fa0ac3391c40dc6d2bbac126ea3f7496 Mon Sep 17 00:00:00 2001 From: Juuxel <6596629+Juuxel@users.noreply.github.com> Date: Sun, 19 Jan 2020 20:52:40 +0200 Subject: Change default nine-patch padding to 0 --- .../java/io/github/cottonmc/cotton/gui/client/BackgroundPainter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/io/github/cottonmc/cotton/gui/client/BackgroundPainter.java b/src/main/java/io/github/cottonmc/cotton/gui/client/BackgroundPainter.java index 0cd7338..bcd8124 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/client/BackgroundPainter.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/client/BackgroundPainter.java @@ -93,7 +93,7 @@ public interface BackgroundPainter { private final Identifier texture; private final int cornerSize; private final float cornerUv; - private int padding = 8; + private int padding = 0; /** * Creates a nine-patch background painter with 4 px corners and a 0.25 cornerUv (corner fraction of whole texture). -- cgit