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

Fix window position reseting while being dragged #6

Merged
merged 5 commits into from
Jan 9, 2024

Conversation

rimuy
Copy link
Contributor

@rimuy rimuy commented Jan 8, 2024

Cloned from evaera/plasma#13.

If another input is still being processed while dragging a window, Plasma resets the window position until it stops receiving other input state changes. In the example below, I was holding the F key while dragging around a window. The issue can be fixed by just filtering dragConnection to only accept mouse movement updates.

plasma_bug

@LastTalon LastTalon merged commit 9d438f6 into matter-ecs:main Jan 9, 2024
5 checks passed
@rimuy rimuy deleted the fix-window-movement branch January 9, 2024 23:18
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.

3 participants