why onButtonEvent detects the realease of the click button and not the initial click?
moebiussurfing opened this issue · comments
moebiusSurfing commented
there is some way to detect the mouse click like this? I am doing something bad??
Matt Felsen commented
The mouse event handling code is designed to fire the onButtonEvent callback when the mouse is released. Your not doing anything wrong :) if you want different behavior you can probably subclass the button and overload the onMousePressed method.