Skip to content

Commit c690e04

Browse files
authored
fix bitmaptext centering when changing text (#3548)
1 parent c70a33e commit c690e04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flixel/text/FlxBitmapText.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ class FlxBitmapText extends FlxSprite
10371037
for (i in 0...numLines)
10381038
{
10391039
line = _lines[i];
1040-
lineWidth = _linesWidth[i];
1040+
lineWidth = getLineWidth(i);
10411041

10421042
// LEFT
10431043
ox = font.minOffsetX;

0 commit comments

Comments
 (0)