Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable cursor functionality for InputText #249

Closed
wants to merge 1 commit into from
Closed

Enable cursor functionality for InputText #249

wants to merge 1 commit into from

Conversation

DigiEggz
Copy link
Contributor

@DigiEggz DigiEggz commented Aug 1, 2023

Allows FlxUICursor to function with FlxUIInputText widgets.

Allows FlxUICursor to function with FlxUIInputText widgets.
@Geokureli
Copy link
Member

can you share a little test project that showcases what this change does?

@DigiEggz
Copy link
Contributor Author

DigiEggz commented Aug 2, 2023

I'm considering adding a bit more functionality to this. The plan is for TextFields to properly interact with the floating FlxUICursors. As it stands, UI cursors cannot interact with text fields in any way.

Edit: I ended up using a cursor reference within InputText fields. It's used to set the FlxUICursor's active flag when set_hasFocus changes. I've implemented it in my own project, but not sure of the best course of action for a general library change.

@DigiEggz DigiEggz closed this Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants