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

Use ImGui::WantCaptureKeyboard for key callbacks #8

Merged
merged 1 commit into from
Feb 14, 2020
Merged

Use ImGui::WantCaptureKeyboard for key callbacks #8

merged 1 commit into from
Feb 14, 2020

Conversation

pezcode
Copy link
Contributor

@pezcode pezcode commented Feb 14, 2020

All the app callbacks were using WantCaptureMouse, so I added gui::capture_keyboard to check for the correct ImGui flag for handling key events.

@TheLavaBlock TheLavaBlock added the bug Something isn't working label Feb 14, 2020
@TheLavaBlock TheLavaBlock merged commit 54242fe into liblava:master Feb 14, 2020
@TheLavaBlock
Copy link
Member

A good point. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants