This commit is contained in:
sharlotte
2021-09-12 13:51:26 +09:00
parent 9ff5e0b5d4
commit 259db4a1b3
4 changed files with 35 additions and 6 deletions

View File

@@ -620,7 +620,7 @@ public class HudUi {
if(getTarget() instanceof ConstructBlock.ConstructBuild cb) name = cb.current.localizedName;
else name = b.block.localizedName;
}
return "[accent]" + (name.length() > 10 ? name.substring(0, 10) + "..." : name) + "[]";
return "[accent]" + (name.length() > 13 ? name.substring(0, 13) + "..." : name) + "[]";
});
label.setFontScale(Scl.scl(modUiScale) * 0.75f);