option menu: attempt to fix funky navigation bar when aggressively hovering
This commit is contained in:
parent
d11656daf6
commit
7f37a51c48
|
@ -641,6 +641,7 @@ public class OptionsOverlay extends OverlayOpsuState {
|
||||||
} else if (navHoverTime > 0) {
|
} else if (navHoverTime > 0) {
|
||||||
navHoverTime -= delta;
|
navHoverTime -= delta;
|
||||||
}
|
}
|
||||||
|
navHoverTime = Utils.clamp(navHoverTime, 0, 600);
|
||||||
|
|
||||||
if (!scrollPositionChanged && (mouseX - prevMouseX == 0 && mouseY - prevMouseY == 0)) {
|
if (!scrollPositionChanged && (mouseX - prevMouseX == 0 && mouseY - prevMouseY == 0)) {
|
||||||
updateIndicatorAlpha();
|
updateIndicatorAlpha();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user