aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2021-10-14 19:00:54 +0800
committershedaniel <daniel@shedaniel.me>2021-10-14 19:00:54 +0800
commit47f541ef0166caad1cb1906f237a2ff3cf8cd115 (patch)
tree5d8bc4f1552864ba34229a7bc1e402be0eacd8b3 /runtime
parent81f07b79c7560c4b0aba0d6dd3c1cac781fad68a (diff)
downloadRoughlyEnoughItems-47f541ef0166caad1cb1906f237a2ff3cf8cd115.tar.gz
RoughlyEnoughItems-47f541ef0166caad1cb1906f237a2ff3cf8cd115.tar.bz2
RoughlyEnoughItems-47f541ef0166caad1cb1906f237a2ff3cf8cd115.zip
21w41a
Diffstat (limited to 'runtime')
-rw-r--r--runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/basewidgets/ButtonWidget.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/basewidgets/ButtonWidget.java b/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/basewidgets/ButtonWidget.java
index f2e60bb88..63f731a4b 100644
--- a/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/basewidgets/ButtonWidget.java
+++ b/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/basewidgets/ButtonWidget.java
@@ -291,10 +291,10 @@ public class ButtonWidget extends Button {
// 9 Patch Texture
// Four Corners
- blit(matrices, x, y, getBlitOffset(), 0, textureOffset * 80, 8, 8, 512, 256);
- blit(matrices, x + width - 8, y, getBlitOffset(), 248, textureOffset * 80, 8, 8, 512, 256);
- blit(matrices, x, y + height - 8, getBlitOffset(), 0, textureOffset * 80 + 72, 8, 8, 512, 256);
- blit(matrices, x + width - 8, y + height - 8, getBlitOffset(), 248, textureOffset * 80 + 72, 8, 8, 512, 256);
+ blit(matrices, x, y, getBlitOffset(), 0, textureOffset * 80, 8, 8, 256, 512);
+ blit(matrices, x + width - 8, y, getBlitOffset(), 248, textureOffset * 80, 8, 8, 256, 512);
+ blit(matrices, x, y + height - 8, getBlitOffset(), 0, textureOffset * 80 + 72, 8, 8, 256, 512);
+ blit(matrices, x + width - 8, y + height - 8, getBlitOffset(), 248, textureOffset * 80 + 72, 8, 8, 256, 512);
Matrix4f matrix = matrices.last().pose();
// Sides