mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
update Adventure Matchscreen
This commit is contained in:
@@ -229,13 +229,15 @@ public class Controls {
|
||||
switch (fontName) {
|
||||
case "blackbig":
|
||||
case "big":
|
||||
getSkin().getFont("default").getData().setScale(2, 2);
|
||||
return getSkin().getFont("default");
|
||||
return getBitmapFont("default", 2);
|
||||
default:
|
||||
getSkin().getFont("default").getData().setScale(1, 1);
|
||||
return getSkin().getFont("default");
|
||||
return getBitmapFont("default", 1);
|
||||
}
|
||||
}
|
||||
static public BitmapFont getBitmapFont(String fontName, float scaleXY) {
|
||||
getSkin().getFont(fontName).getData().setScale(scaleXY, scaleXY);
|
||||
return getSkin().getFont("default");
|
||||
}
|
||||
|
||||
static public Skin getSkin() {
|
||||
FileHandle skinFile = Config.instance().getFile(Paths.SKIN);
|
||||
|
||||
Reference in New Issue
Block a user