fix hover option in option menu not updating when scrolling
This commit is contained in:
@@ -451,6 +451,7 @@ public class OptionsOverlay {
|
|||||||
if (!isAdjustingSlider) {
|
if (!isAdjustingSlider) {
|
||||||
scrollOffset = Utils.clamp(scrollOffset - delta, 0, maxScrollOffset);
|
scrollOffset = Utils.clamp(scrollOffset - delta, 0, maxScrollOffset);
|
||||||
}
|
}
|
||||||
|
updateHoverOption(prevMouseX, prevMouseY);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean keyPressed(int key, char c) {
|
public boolean keyPressed(int key, char c) {
|
||||||
|
|||||||
Reference in New Issue
Block a user