Fixed font
This commit is contained in:
@@ -112,7 +112,7 @@ public class UI extends SceneModule{
|
|||||||
font.setUseIntegerPositions(false);
|
font.setUseIntegerPositions(false);
|
||||||
font.getData().setScale(Vars.fontScale);
|
font.getData().setScale(Vars.fontScale);
|
||||||
font.getData().down += Unit.dp.scl(4f);
|
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"));
|
}, 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){
|
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();
|
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;
|
import java.util.Locale;
|
||||||
|
|
||||||
/**
|
/**Describes one type of stat for a block.*/
|
||||||
* Describes one type of stat for a block.
|
|
||||||
*/
|
|
||||||
public enum BlockStat{
|
public enum BlockStat{
|
||||||
health(StatCategory.general),
|
health(StatCategory.general),
|
||||||
size(StatCategory.general),
|
size(StatCategory.general),
|
||||||
|
|||||||
Reference in New Issue
Block a user