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

Should the Display#InputEventCapturer honor Event.isConsumed()? #1

Open
Protuhj opened this issue Jan 25, 2012 · 0 comments
Open

Should the Display#InputEventCapturer honor Event.isConsumed()? #1

Protuhj opened this issue Jan 25, 2012 · 0 comments

Comments

@Protuhj
Copy link

Protuhj commented Jan 25, 2012

As the title says.

Currently, in all of the fireXXXX(...) methods, it is not checked whether or not an event has been consumed in the chain of ControlAdapters.

I wrote a ControlAdapter to change how left-clicking works, depending on a keyboard modifier. I wanted to consume the appropriate MouseEvent so it didn't propagate to all other listeners (like the PanControl).

Now I understand I can either add my own pan functionality to my custom adapter, or add/remove adapters on demand, but those options seem a bit hacky and overly-cumbersome.

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

No branches or pull requests

1 participant