option menu: reset currently open dropdownmenu when changing search filter
This commit is contained in:
@@ -1088,6 +1088,10 @@ public class OptionsOverlay extends OverlayOpsuState {
|
|||||||
}
|
}
|
||||||
updateHoverOption(prevMouseX, prevMouseY);
|
updateHoverOption(prevMouseX, prevMouseY);
|
||||||
updateActiveSection();
|
updateActiveSection();
|
||||||
|
if (openDropdownMenu != null) {
|
||||||
|
openDropdownMenu.reset();
|
||||||
|
openDropdownMenu = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean hasSearchResults(String searchText) {
|
private boolean hasSearchResults(String searchText) {
|
||||||
|
|||||||
Reference in New Issue
Block a user