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

Mouse release event is not fired if focus is lost during a click #715

Open
Zakru opened this issue Sep 7, 2023 · 1 comment
Open

Mouse release event is not fired if focus is lost during a click #715

Zakru opened this issue Sep 7, 2023 · 1 comment

Comments

@Zakru
Copy link
Contributor

Zakru commented Sep 7, 2023

This issue came up while developing #642 (see thread).

If the user presses their mouse down on the window (e.g. minimap) and moves their cursor out of the window/over another window and changes focus (i.e. Alt+Tab), followed by releasing the mouse, the mouse release event will not be received. This results in the game thinking the mouse button is still down (in the minimap example, moving the mouse over the minimap still moves the camera).

@Indy2222
Copy link
Collaborator

Indy2222 commented Sep 7, 2023

This is somewhat related to #648.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants