HaxeFlixel / HaxeFlixel/flixel-ui
FlxUIInputText doesn't like to change fonts when in Windows mode
Nobody has claimed this yet.
- Dominant language
- Haxe
- Stars
- 201
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Description
The following will crash when running in debug windows mode. It works ok in flash. It is only when I change the font that the problem occurs. I believe the font is ok as I use it elsewhere without problems
_resize_input = new FlxUIInputText(0,_screen_dimensions.height - 275, third_of_screen_width, "200", 50, FlxColor.BLACK, FlxColor.WHITE,true);
_resize_input.font = KdmStyles.BOLD_FONT;
add(_resize_input);
Thanks
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash in Windows debug mode with the shown FlxUIInputText setup, especially the assignment to KdmStyles.BOLD_FONT. Trace FlxUIInputText font handling and compare it with the working Flash path. Done means changing the font no longer crashes in Windows debug mode while the existing Flash behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100