diff options
author | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-01-19 20:52:40 +0200 |
---|---|---|
committer | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-01-19 20:52:40 +0200 |
commit | e5844474fa0ac3391c40dc6d2bbac126ea3f7496 (patch) | |
tree | 83e222ca84040f183ffadeb53a2e6e5d0aad6971 /src | |
parent | 233f8f4d4397c12df7a164461fa7544b6377181e (diff) | |
download | LibGui-e5844474fa0ac3391c40dc6d2bbac126ea3f7496.tar.gz LibGui-e5844474fa0ac3391c40dc6d2bbac126ea3f7496.tar.bz2 LibGui-e5844474fa0ac3391c40dc6d2bbac126ea3f7496.zip |
Change default nine-patch padding to 0
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/client/BackgroundPainter.java | 2 |
1 files changed, 1 insertions, 1 deletions
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). |