mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:13:21 +08:00
Use more consistent way of closing overlay
This commit is contained in:
parent
f66093d3cf
commit
992f78b158
@ -641,7 +641,7 @@ namespace osu.Game.Overlays.Mods
|
|||||||
// If nothing is selected, it should exit the dialog (a bit weird, but this is the expectation from stable).
|
// If nothing is selected, it should exit the dialog (a bit weird, but this is the expectation from stable).
|
||||||
if (string.IsNullOrEmpty(SearchTerm))
|
if (string.IsNullOrEmpty(SearchTerm))
|
||||||
{
|
{
|
||||||
Hide();
|
hideOverlay(true);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user