flame
flame copied to clipboard
Incorrect behavior of HoverCallbacks when the mouse is pressed
I tried the HoverCallbacks mixin from the main branch: When the mouse is pressed and the object is exited without releasing the click, HoverCallbacks does not notify the onHoverExit function.
If I leave the area with the mouse pressed and return back, I do not receive any events at all
https://github.com/flame-engine/flame/assets/18004353/da5c593d-d4cb-4a2c-b76e-4bb33a66d8d1
Like I wrote on Discord, we have to add cancel events to the callbacks to be able to handle this.