Skip to content

Conversation

@slameron
Copy link
Contributor

@slameron slameron commented Jan 13, 2026

CENTER alignment is off for flxbitmaptext after changing the text.

before the change, changing the text resulted in the text to look off-center
see the 'Upgrades' text on the top, this gif is prior to the change
pre-change

change it to call getLineWidth on the line rather than use the pre-stored line widths so the new text can be aligned properly
post-change

it may be better to simply update the _linesWidth upon changing the text, but this seems to fix in this case

@Geokureli
Copy link
Member

Ignore failing CI, I created an issue in hscript, here: HaxeFoundation/hscript#161

@Geokureli Geokureli merged commit c690e04 into HaxeFlixel:dev Jan 14, 2026
9 of 10 checks passed
@Geokureli Geokureli added this to the 6.2.0 milestone Jan 14, 2026
@Geokureli
Copy link
Member

Thanks! game looks cool, too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants