mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-15 23:14:12 +01:00
Tooltip fix
- Cleared more remnants of the broken text component transition
This commit is contained in:
parent
1cdfa6c17e
commit
4c91397fbb
@ -130,7 +130,7 @@ public class ItemDescription {
|
|||||||
IFormattableTextComponent level = new StringTextComponent(makeProgressBar(3, index)).append(stressLevels.get(index)).formatted(impactId.getAbsoluteColor());
|
IFormattableTextComponent level = new StringTextComponent(makeProgressBar(3, index)).append(stressLevels.get(index)).formatted(impactId.getAbsoluteColor());
|
||||||
|
|
||||||
if (hasGlasses)
|
if (hasGlasses)
|
||||||
level.append(" (" + impacts.get(id).get()).append("x " + rpmUnit).append(")");
|
level.append(" (" + impacts.get(id).get()).append("x ").append(rpmUnit).append(")");
|
||||||
|
|
||||||
add(linesOnShift, Lang.translate("tooltip.stressImpact").formatted(GRAY));
|
add(linesOnShift, Lang.translate("tooltip.stressImpact").formatted(GRAY));
|
||||||
add(linesOnShift, level);
|
add(linesOnShift, level);
|
||||||
@ -147,7 +147,7 @@ public class ItemDescription {
|
|||||||
IFormattableTextComponent level = new StringTextComponent(makeProgressBar(3, index)).append(stressCapacityLevels.get(index)).formatted(impactId.getAbsoluteColor());
|
IFormattableTextComponent level = new StringTextComponent(makeProgressBar(3, index)).append(stressCapacityLevels.get(index)).formatted(impactId.getAbsoluteColor());
|
||||||
|
|
||||||
if (hasGlasses)
|
if (hasGlasses)
|
||||||
level.append(" (" + capacity).append("x " + rpmUnit).append(")");
|
level.append(" (" + capacity).append("x ").append(rpmUnit).append(")");
|
||||||
if (!isEngine && ((IRotate) block).showCapacityWithAnnotation())
|
if (!isEngine && ((IRotate) block).showCapacityWithAnnotation())
|
||||||
level.append(" ").append(Lang.translate("tooltip.capacityProvided.asGenerator").formatted(DARK_GRAY, ITALIC));
|
level.append(" ").append(Lang.translate("tooltip.capacityProvided.asGenerator").formatted(DARK_GRAY, ITALIC));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user