Closed WhiteBlackGoose closed 4 years ago
Even without clicking it calls the event
I agree, MousePressEvent
should not be triggered if no button is pressed
So I decided to split it into the following events:
MouseButtonEvent
- generic event that is triggered if any mouse button event occured (pressed, released, held)
LeftMouseButtonPressedEvent
, RightMouseButtonPressedEvent
, MiddleMouseButtonPressedEvent
- events for convenience, triggered only on left/right/middle button press
Reproduction:
~
then click once then observe how many times it got called