Skip to content

Reset camera input when window is deactivated#950

Merged
chreden merged 2 commits intomasterfrom
bug/949
Apr 30, 2022
Merged

Reset camera input when window is deactivated#950
chreden merged 2 commits intomasterfrom
bug/949

Conversation

@chreden
Copy link
Copy Markdown
Owner

@chreden chreden commented Apr 29, 2022

When the user deactivates the window (leaves it, alt-tabs or similar) then reset the pressed key states in camera input. This stops the camera from moving if they were pressing a movement key.
Closes #949

When the user deactivates the window (leaves it, alt-tabs or similar) then reset the pressed key states in camera input. This stops the camera from moving if they were pressing a movement key.
Closes #949
@chreden chreden added this to the Next milestone Apr 29, 2022
@chreden chreden requested a review from makotocchi April 29, 2022 09:40
@chreden chreden self-assigned this Apr 29, 2022
@chreden chreden merged commit 65fb20d into master Apr 30, 2022
@chreden chreden deleted the bug/949 branch April 30, 2022 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Camera keeps moving if you alt tab without releasing a movement key

2 participants