Makes tooltips render slower

This commit is contained in:
noil 2020-12-27 20:52:50 -05:00
parent e42d62acd4
commit 2988dbe94b
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ public class ToolTipComponent extends HudComponent {
super.render(mouseX, mouseY, partialTicks);
if (this.alpha < 0xFF/*max alpha*/) {
this.alpha += 2/* arbitrary value, the speed at which it fades in essentially */;
this.alpha += 1/* arbitrary value, the speed at which it fades in essentially */;
}
if (this.alpha > 0x99/* another arbitrary value, the alpha hex value at which it begins to show on screen*/) {

View File

@ -529,7 +529,7 @@ public final class ModuleListComponent extends ResizableHudComponent {
this.addComponentToButtons(valueText);
} else if (value.getValue() instanceof Color) {
ColorComponent valueColor = new ColorComponent(value.getName(), ((Color) value.getValue()).getRGB());
valueColor.setTooltipText("Edit the hex value of: " + value.getName());
//valueColor.setTooltipText("Edit the hex value of: " + value.getName());
valueColor.returnListener = new ComponentListener() {
@Override
public void onComponentEvent() {