Minecraft events (such as mouseClicked or mouseDraged) are handled incorrectly
Mcrtin opened this issue ยท 0 comments
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