get fucked you stupid bug

This commit is contained in:
Yoshman29
2022-12-20 21:48:08 +01:00
parent 58c5b8cb4b
commit f85ee1cfe9
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
1586
1590
+7
View File
@@ -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<Float>, bold:Bool = false, italic:Bool = false, ?underline:Bool = false, ?blockIndent:Int, ?bullet:Bool) {