From eac940bccb3d6570c521497d156023557b077301 Mon Sep 17 00:00:00 2001 From: luckydog7 Date: Thu, 17 Jul 2025 19:09:25 +0300 Subject: [PATCH] temp credits font fix --- hmm.json | 2 +- source/funkin/ui/credits/CreditsState.hx | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/hmm.json b/hmm.json index babaae3fb..2320c87b3 100644 --- a/hmm.json +++ b/hmm.json @@ -212,7 +212,7 @@ "name": "openfl", "type": "git", "dir": null, - "ref": "db060809f0ac293fb873964d7a076762c85adb71", + "ref": "a0df7c3afe360c9af59a76e45007dbf4e53b5131", "url": "https://github.com/FunkinCrew/openfl-mobile" }, { diff --git a/source/funkin/ui/credits/CreditsState.hx b/source/funkin/ui/credits/CreditsState.hx index 9b1bc13e4..48a290dd2 100644 --- a/source/funkin/ui/credits/CreditsState.hx +++ b/source/funkin/ui/credits/CreditsState.hx @@ -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 = [];