1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 05:32:54 +08:00

Use more consistent way of closing overlay

This commit is contained in:
Bartłomiej Dach 2023-07-26 21:54:35 +02:00
parent f66093d3cf
commit 992f78b158
No known key found for this signature in database

View File

@ -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 (string.IsNullOrEmpty(SearchTerm))
{
Hide();
hideOverlay(true);
return true;
}