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

BlMouseDownEvent subclasses should have a #sendTo: #445

Open
plantec opened this issue Feb 13, 2024 · 1 comment
Open

BlMouseDownEvent subclasses should have a #sendTo: #445

plantec opened this issue Feb 13, 2024 · 1 comment

Comments

@plantec
Copy link
Collaborator

plantec commented Feb 13, 2024

Since we have subclasses, it is desirable to have #sentTo: to simplify event handler implementation.
Currently, the modifiers has to be checked in handlers whereas it has already been checked in the mouse processor.

Having a #sentTo: implies updating existing handlers.
I've counted 3 that should be revised.
They are all a subclass of BlEventListener

@plantec
Copy link
Collaborator Author

plantec commented Feb 13, 2024

BlMouseDownEvent >> #ifPrimary: aPrimBlock secondary: aSecBlock middle: aMidBlock other: anotherBlock
is crappy and would be not necessary

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