diff options
| author | shedaniel <daniel@shedaniel.me> | 2022-04-12 18:15:33 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2022-04-13 23:43:46 +0800 |
| commit | 3f9ebf1410e4bc4691893ccbe8a9678f04e80a5b (patch) | |
| tree | d5e6ae6d3ae18eaa6810dbdaeb353e61f0ffe967 /runtime/src/main/java | |
| parent | 652450b4b610a8145cb7d02fb5d27701dcca62cd (diff) | |
| download | RoughlyEnoughItems-3f9ebf1410e4bc4691893ccbe8a9678f04e80a5b.tar.gz RoughlyEnoughItems-3f9ebf1410e4bc4691893ccbe8a9678f04e80a5b.tar.bz2 RoughlyEnoughItems-3f9ebf1410e4bc4691893ccbe8a9678f04e80a5b.zip | |
Reposition Reload Search button
Diffstat (limited to 'runtime/src/main/java')
| -rw-r--r-- | runtime/src/main/java/me/shedaniel/rei/impl/client/config/entries/ReloadPluginsEntry.java | 6 |
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 b0a3648cf..67a1eacd5 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 @@ -95,13 +95,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); } |
