aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2022-04-12 18:15:33 +0800
committershedaniel <daniel@shedaniel.me>2022-04-12 18:15:33 +0800
commitdce7a6b6485b0fba42563115047df2004455d9e2 (patch)
treef8ca16272b258840679fdd58016a7d31ceecd67d /runtime
parent9c816c896ea12ec66dfe7089e7b6b930c21b7c0e (diff)
downloadRoughlyEnoughItems-dce7a6b6485b0fba42563115047df2004455d9e2.tar.gz
RoughlyEnoughItems-dce7a6b6485b0fba42563115047df2004455d9e2.tar.bz2
RoughlyEnoughItems-dce7a6b6485b0fba42563115047df2004455d9e2.zip
Reposition Reload Search button
Diffstat (limited to 'runtime')
-rw-r--r--runtime/src/main/java/me/shedaniel/rei/impl/client/config/entries/ReloadPluginsEntry.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/client/config/entries/ReloadPluginsEntry.java b/runtime/src/main/java/me/shedaniel/rei/impl/client/config/entries/ReloadPluginsEntry.java
index fd715ede5..257751431 100644
--- a/runtime/src/main/java/me/shedaniel/rei/impl/client/config/entries/ReloadPluginsEntry.java
+++ b/runtime/src/main/java/me/shedaniel/rei/impl/client/config/entries/ReloadPluginsEntry.java
@@ -96,13 +96,13 @@ public class ReloadPluginsEntry extends AbstractConfigListEntry<Unit> {
Window window = Minecraft.getInstance().getWindow();
this.reloadPluginsButton.active = this.isEditable();
this.reloadPluginsButton.y = y;
- this.reloadPluginsButton.setWidth(width / 2 - 6);
+ this.reloadPluginsButton.setWidth(width / 2 - 2);
this.reloadPluginsButton.x = x + entryWidth / 2 - width / 2;
this.reloadPluginsButton.render(matrices, mouseX, mouseY, delta);
this.reloadSearchButton.active = this.isEditable() && !Argument.SEARCH_CACHE.isEmpty();
this.reloadSearchButton.y = y;
- this.reloadSearchButton.setWidth(width / 2 - 6);
- this.reloadSearchButton.x = x + entryWidth / 2 + 3;
+ this.reloadSearchButton.setWidth(width / 2 - 2);
+ this.reloadSearchButton.x = x + entryWidth / 2 + 2;
this.reloadSearchButton.render(matrices, mouseX, mouseY, delta);
}