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

WASD inputs in matchmaking server text box move text cursor #933

Open
MaxCWhitehead opened this issue Mar 23, 2024 · 0 comments
Open

WASD inputs in matchmaking server text box move text cursor #933

MaxCWhitehead opened this issue Mar 23, 2024 · 0 comments
Labels
help wanted Extra attention is needed kind:bug Something isn't working scope:tiny A task that takes less than an hour topic:ui User interface.

Comments

@MaxCWhitehead
Copy link
Collaborator

MaxCWhitehead commented Mar 23, 2024

Description

Need to disable WASD moving text cursor in this text box, makes it hard to type in. Pretty sure I saw the code to do this in some other menus, but need to track that down.

Maybe need to do something like this temporarily?

) {
let mut state = ui.ctx().get_state::<PlayerSelectState>();
ui.ctx().set_state(EguiInputSettings {
disable_keyboard_input: true,
disable_gamepad_input: true,
});

To Reproduce

Go to settings -> networking

Type letters A and D in matchmaking server text box, observe this moves cursor and messes up input.

Expected Behavior

No response

Additional Context

No response

Log Messages

No response

@MaxCWhitehead MaxCWhitehead added kind:bug Something isn't working topic:ui User interface. scope:tiny A task that takes less than an hour help wanted Extra attention is needed labels Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed kind:bug Something isn't working scope:tiny A task that takes less than an hour topic:ui User interface.
Projects
None yet
Development

No branches or pull requests

1 participant