aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuuxel <6596629+Juuxel@users.noreply.github.com>2020-01-19 20:52:40 +0200
committerJuuxel <6596629+Juuxel@users.noreply.github.com>2020-01-19 20:52:40 +0200
commite5844474fa0ac3391c40dc6d2bbac126ea3f7496 (patch)
tree83e222ca84040f183ffadeb53a2e6e5d0aad6971
parent233f8f4d4397c12df7a164461fa7544b6377181e (diff)
downloadLibGui-e5844474fa0ac3391c40dc6d2bbac126ea3f7496.tar.gz
LibGui-e5844474fa0ac3391c40dc6d2bbac126ea3f7496.tar.bz2
LibGui-e5844474fa0ac3391c40dc6d2bbac126ea3f7496.zip
Change default nine-patch padding to 0
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/client/BackgroundPainter.java2
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).