From c4158e65ae3c5b6ef7e3e7c613d407c84bc32fa2 Mon Sep 17 00:00:00 2001 From: kirillsaint Date: Fri, 25 Aug 2023 00:04:07 +0600 Subject: [PATCH] better --- .../silentclient/client/gui/lite/clickgui/ModSettings.java | 4 ++-- .../java/net/silentclient/client/gui/modmenu/ModSettings.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/net/silentclient/client/gui/lite/clickgui/ModSettings.java b/src/main/java/net/silentclient/client/gui/lite/clickgui/ModSettings.java index 687e6fb..cb267af 100644 --- a/src/main/java/net/silentclient/client/gui/lite/clickgui/ModSettings.java +++ b/src/main/java/net/silentclient/client/gui/lite/clickgui/ModSettings.java @@ -180,7 +180,7 @@ public class ModSettings extends SilentScreen { if(setting.isKeybind()) { Client.getInstance().getSilentFontRenderer().drawString(setting.getName() + ":", x + 100, settingY + 1, 12, SilentFontRenderer.FontType.TITLE); - this.silentInputs.get(inputIndex).render(mouseX, mouseY, x + width - 35 - 5, settingY, 35, true, new DefaultInputTheme(), true); + this.silentInputs.get(inputIndex).render(mouseX, mouseY, x + width - 50 - 5, settingY, 50, true, new DefaultInputTheme(), true); ColorUtils.setColor(-1); settingY += 5; inputIndex++; @@ -345,7 +345,7 @@ public class ModSettings extends SilentScreen { } if(setting.isKeybind()) { - this.silentInputs.get(inputIndex).onClick(mouseX, mouseY, x + width - 35 - 5, settingY, 35, true); + this.silentInputs.get(inputIndex).onClick(mouseX, mouseY, x + width - 50 - 5, settingY, 50, true); settingY += 5; inputIndex++; } diff --git a/src/main/java/net/silentclient/client/gui/modmenu/ModSettings.java b/src/main/java/net/silentclient/client/gui/modmenu/ModSettings.java index 50336f9..727c40c 100644 --- a/src/main/java/net/silentclient/client/gui/modmenu/ModSettings.java +++ b/src/main/java/net/silentclient/client/gui/modmenu/ModSettings.java @@ -117,7 +117,7 @@ public class ModSettings extends SilentScreen { } if(setting.isKeybind()) { Client.getInstance().getSilentFontRenderer().drawString(setting.getName(), 3, settingY, 12, SilentFontRenderer.FontType.TITLE); - this.silentInputs.get(inputIndex).render(mouseX, mouseY, 150 - 35 - 3, settingY, 35, true, new DefaultInputTheme(), true); + this.silentInputs.get(inputIndex).render(mouseX, mouseY, 150 - 50 - 3, settingY, 50, true, new DefaultInputTheme(), true); settingY += 5; inputIndex++; } @@ -245,7 +245,7 @@ public class ModSettings extends SilentScreen { } if(setting.isKeybind()) { Client.getInstance().getSilentFontRenderer().drawString(setting.getName(), 3, settingY, 12, SilentFontRenderer.FontType.TITLE); - this.silentInputs.get(inputIndex).onClick(mouseX, mouseY, 150 - 35 - 3, (int) settingY, 35, true); + this.silentInputs.get(inputIndex).onClick(mouseX, mouseY, 150 - 50 - 3, (int) settingY, 50, true); settingY += 5; inputIndex++; }