fix hover option in option menu not updating when scrolling

This commit is contained in:
yugecin 2016-12-18 21:04:17 +01:00
parent c974374d67
commit c42e7e4399

View File

@ -451,6 +451,7 @@ public class OptionsOverlay {
if (!isAdjustingSlider) {
scrollOffset = Utils.clamp(scrollOffset - delta, 0, maxScrollOffset);
}
updateHoverOption(prevMouseX, prevMouseY);
}
public boolean keyPressed(int key, char c) {