From c42e7e4399599e11900b884ec926870ae7a25330 Mon Sep 17 00:00:00 2001 From: yugecin Date: Sun, 18 Dec 2016 21:04:17 +0100 Subject: [PATCH] fix hover option in option menu not updating when scrolling --- src/yugecin/opsudance/ui/OptionsOverlay.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/yugecin/opsudance/ui/OptionsOverlay.java b/src/yugecin/opsudance/ui/OptionsOverlay.java index c8b7f4dc..6bf04d50 100644 --- a/src/yugecin/opsudance/ui/OptionsOverlay.java +++ b/src/yugecin/opsudance/ui/OptionsOverlay.java @@ -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) {