mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 10:21:32 +01:00
better
This commit is contained in:
parent
7f16117065
commit
c4158e65ae
@ -180,7 +180,7 @@ public class ModSettings extends SilentScreen {
|
|||||||
|
|
||||||
if(setting.isKeybind()) {
|
if(setting.isKeybind()) {
|
||||||
Client.getInstance().getSilentFontRenderer().drawString(setting.getName() + ":", x + 100, settingY + 1, 12, SilentFontRenderer.FontType.TITLE);
|
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);
|
ColorUtils.setColor(-1);
|
||||||
settingY += 5;
|
settingY += 5;
|
||||||
inputIndex++;
|
inputIndex++;
|
||||||
@ -345,7 +345,7 @@ public class ModSettings extends SilentScreen {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(setting.isKeybind()) {
|
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;
|
settingY += 5;
|
||||||
inputIndex++;
|
inputIndex++;
|
||||||
}
|
}
|
||||||
|
@ -117,7 +117,7 @@ public class ModSettings extends SilentScreen {
|
|||||||
}
|
}
|
||||||
if(setting.isKeybind()) {
|
if(setting.isKeybind()) {
|
||||||
Client.getInstance().getSilentFontRenderer().drawString(setting.getName(), 3, settingY, 12, SilentFontRenderer.FontType.TITLE);
|
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;
|
settingY += 5;
|
||||||
inputIndex++;
|
inputIndex++;
|
||||||
}
|
}
|
||||||
@ -245,7 +245,7 @@ public class ModSettings extends SilentScreen {
|
|||||||
}
|
}
|
||||||
if(setting.isKeybind()) {
|
if(setting.isKeybind()) {
|
||||||
Client.getInstance().getSilentFontRenderer().drawString(setting.getName(), 3, settingY, 12, SilentFontRenderer.FontType.TITLE);
|
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;
|
settingY += 5;
|
||||||
inputIndex++;
|
inputIndex++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user