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

Minecraft events (such as mouseClicked or mouseDraged) are handled incorrectly #1933

Open
Mcrtin opened this issue Aug 3, 2023 · 0 comments

Comments

@Mcrtin
Copy link
Contributor

Mcrtin commented Aug 3, 2023

Custom screens and widgets often mishandle events. A prime example of this is ScrollButton and WynntilsSettingsScreen.
ScrollButton eats click events and because of the absent checks in WynntilsSettingsScreen it also has to have its own isDragged value which is something normally Minecraft handles which causes the Settings screen to be not compatible with Minecraft widgets. Additionally ScrollButton uses mouseDragged instead of onDrag.
related: #1883

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

No branches or pull requests

1 participant