Fix beatmap listing overlay not hiding via keyboard control when scrolled

Closes https://github.com/ppy/osu/issues/14684.
This commit is contained in:
Dean Herbert
2021-09-10 01:57:55 +09:00
parent 2e00c71842
commit c101d1f205
2 changed files with 18 additions and 8 deletions

View File

@ -70,7 +70,7 @@ namespace osu.Game.Graphics.UserInterface
return base.OnKeyDown(e);
}
public bool OnPressed(GlobalAction action)
public virtual bool OnPressed(GlobalAction action)
{
if (!HasFocus) return false;