temp credits font fix
This commit is contained in:
@@ -212,7 +212,7 @@
|
||||
"name": "openfl",
|
||||
"type": "git",
|
||||
"dir": null,
|
||||
"ref": "db060809f0ac293fb873964d7a076762c85adb71",
|
||||
"ref": "a0df7c3afe360c9af59a76e45007dbf4e53b5131",
|
||||
"url": "https://github.com/FunkinCrew/openfl-mobile"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -41,8 +41,6 @@ class CreditsState extends MusicBeatState
|
||||
static final CREDITS_FONT = 'Consolas';
|
||||
#elseif mac
|
||||
static final CREDITS_FONT = 'Menlo';
|
||||
#elseif ios
|
||||
static final CREDITS_FONT = null;
|
||||
#else
|
||||
static final CREDITS_FONT = "Courier New";
|
||||
#end
|
||||
@@ -93,6 +91,12 @@ class CreditsState extends MusicBeatState
|
||||
{
|
||||
super.create();
|
||||
|
||||
#if ios
|
||||
var fix = new FlxText();
|
||||
fix.font = CREDITS_FONT;
|
||||
fix.draw();
|
||||
#end
|
||||
|
||||
backersToBuild = CreditsDataHandler.fetchBackerEntries();
|
||||
|
||||
entriesToBuild = [];
|
||||
|
||||
Reference in New Issue
Block a user