-
Notifications
You must be signed in to change notification settings - Fork 398
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
PassThroughInputManager syncs key presses even if they were handled #1966
Labels
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In
PassThroughInputManager.Update()
it syncs the state from the parenting input manager.For mouse input, only released buttons are handled.
For keyboard input, pressed and released buttons are handled.
This has the effect that if a
Drawable
handlesKeyDown()
at a higher point in the hierarchy, the button press will also be handled by everyPassThroughInputManager
in the draw hierarchy when they sync.Test case:
The text was updated successfully, but these errors were encountered: