diff --git a/buildnumber.txt b/buildnumber.txt index f5f5440a..6059c637 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -1586 \ No newline at end of file +1590 \ No newline at end of file diff --git a/source/funkin/system/MarkdownUtil.hx b/source/funkin/system/MarkdownUtil.hx index 808c6ff8..bcf592cc 100644 --- a/source/funkin/system/MarkdownUtil.hx +++ b/source/funkin/system/MarkdownUtil.hx @@ -27,6 +27,13 @@ class MarkdownUtil { parseWarnings(text.textField.text), changes ); + @:privateAccess { + // hacky fix for the text cutting when bigger text formats are used + text._regen = true; + text.regenGraphic(); + text._regen = true; + text.regenGraphic(); + } } public static function createAdvancedMarkerPair(marker:String, color:FlxColor, size:Null, bold:Bool = false, italic:Bool = false, ?underline:Bool = false, ?blockIndent:Int, ?bullet:Bool) {