enable pixelmana atlas

This commit is contained in:
Anthony Calosa
2023-02-23 15:33:32 +08:00
parent 201ef72585
commit 52271e151a
8 changed files with 24 additions and 21 deletions

View File

@@ -362,6 +362,7 @@ public class Controls {
public static String colorIdToTypingString(ColorSet color)
{
//NOTE converting to uppercase will use pixelmana.atlas, higher quality pixel mana symbol.
String colorId="";
if(color.hasWhite())
colorId+="[+w]";
@@ -408,6 +409,7 @@ public class Controls {
{
textraFont=new Font(getSkin().getFont("default"), 0f, 1.5f, 0f, 0f);
textraFont.addAtlas(Config.instance().getAtlas(Paths.ITEMS_ATLAS));
textraFont.addAtlas(Config.instance().getAtlas(Paths.PIXELMANA_ATLAS));
}
return textraFont;
}