-
Notifications
You must be signed in to change notification settings - Fork 335
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
Adding a HotSpotEventListener to the HotSpot is not working #141
Comments
good catch, thank you. if you want to fork and PR to remove that test, I'll merge, otherwise I'll make the patch myself when I get some time. |
Could you, please, make this small patch by yourself? |
sure |
This is fixed in the latest commit. Note that I have not released a new .jar, you'll need to grab the source, nor have I updated the docs (just moved to AS from Eclipse, which had those tasks pretty well baked-in, still getting used to AS). |
Hi there.
Thank you very much for your library.
The events listener, assigned directly to the hot spot can not be called.
The problem is in the HotSpotManager:
public void processHit( Point point ){
...
// fast-fail if no listeners
if(listeners.isEmpty()){
return;
}
...
}
If there is no listener, added to the tile view, then a listener added directly to the hot spot instance will be never called
The text was updated successfully, but these errors were encountered: