option menu: fix dropdowns being clicked when clicking overlayed navigation button
This commit is contained in:
parent
7f37a51c48
commit
6d3336b7ea
|
@ -778,6 +778,7 @@ public class OptionsOverlay extends OverlayOpsuState {
|
|||
isAdjustingSlider = false;
|
||||
sliderOptionLength = 0;
|
||||
|
||||
if (x > navWidth) {
|
||||
if (openDropdownMenu != null) {
|
||||
openDropdownMenu.mouseReleased(button);
|
||||
updateHoverOption(x, y);
|
||||
|
@ -790,6 +791,7 @@ public class OptionsOverlay extends OverlayOpsuState {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
scrollHandler.released();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user