mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-08-03 16:39:37 +07:00
Fixed font
This commit is contained in:
@ -112,7 +112,7 @@ public class UI extends SceneModule{
|
||||
font.setUseIntegerPositions(false);
|
||||
font.getData().setScale(Vars.fontScale);
|
||||
font.getData().down += Unit.dp.scl(4f);
|
||||
font.getData().lineHeight -= Unit.dp.scl(4.3f);
|
||||
font.getData().lineHeight -= Unit.dp.scl(4f);
|
||||
}, skin.font(), skin.getFont("default-font-chat"), skin.getFont("trad-chinese"), skin.getFont("simp-chinese"));
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,6 @@ public class Units{
|
||||
*/
|
||||
public static boolean invalidateTarget(TargetTrait target, Team team, float x, float y, float range){
|
||||
return target == null || (range != Float.MAX_VALUE && target.distanceTo(x, y) > range) || target.getTeam() == team || !target.isValid();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -4,9 +4,7 @@ import io.anuke.ucore.util.Bundles;
|
||||
|
||||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* Describes one type of stat for a block.
|
||||
*/
|
||||
/**Describes one type of stat for a block.*/
|
||||
public enum BlockStat{
|
||||
health(StatCategory.general),
|
||||
size(StatCategory.general),
|
||||
|
Reference in New Issue
Block a user