Makes tooltips render slower
This commit is contained in:
parent
e42d62acd4
commit
2988dbe94b
|
@ -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*/) {
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue