Skip to content

FlxBitmapText: Make fieldWith behave as documented#3601

Merged
Geokureli merged 8 commits into
HaxeFlixel:devfrom
Geokureli:field-width
May 26, 2026
Merged

FlxBitmapText: Make fieldWith behave as documented#3601
Geokureli merged 8 commits into
HaxeFlixel:devfrom
Geokureli:field-width

Conversation

@Geokureli
Copy link
Copy Markdown
Member

@Geokureli Geokureli commented May 24, 2026

Fixes #3600

  • _fieldWidth is no longer set internally
  • Fix bug where fieldWith = 0 actually set it to 1
  • textWidth and textHeight are recalculated on gets
  • Prevent infinite loop on pending checks
  • Eat spaces on soft wraps
  • Unit tests
  • Deprecate multiline reverting in FlxBitmapText: Revert multiLine deprecation #3602

@Geokureli Geokureli changed the title Field width FlxBitmapText: Make fieldWith behave as documented May 25, 2026
@Geokureli Geokureli marked this pull request as ready for review May 25, 2026 01:15
@Geokureli Geokureli merged commit 0aba5e3 into HaxeFlixel:dev May 26, 2026
10 checks passed
@Geokureli Geokureli deleted the field-width branch May 26, 2026 02:54
@Geokureli Geokureli added this to the 6.2.0 milestone May 27, 2026
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.

FlxBitmapText: Prevent fieldWidth set in updateTextBitmap

1 participant