Skip to content

Conversation

@miroiu
Copy link
Owner

@miroiu miroiu commented Jun 5, 2025

📝 Description of the Change

Previously, the ProcessHandledEvents flag was defined on the InputProcessor, but this offered limited value: only the first handler could process the event, and if it marked it as handled, subsequent handlers were skipped regardless of their intent.
By moving ProcessHandledEvents to the IInputHandler level, each handler can now independently decide whether it wants to receive already-handled events.

🐛 Possible Drawbacks

This is a breaking change, as it modifies the location of the ProcessHandledEvents property. However, I believe the impact is minimal, as this feature is unlikely to be widely used in its previous form.

@miroiu miroiu marked this pull request as ready for review June 6, 2025 19:18
@miroiu miroiu merged commit b9a2253 into master Jun 16, 2025
4 checks passed
@miroiu miroiu deleted the feature/process-handled-events branch June 16, 2025 16:23
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