1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 06:42:54 +08:00

Make requested changes

This commit is contained in:
DrabWeb 2017-05-07 22:23:33 -03:00
parent 81d67cbe06
commit de8428c95b
2 changed files with 1 additions and 2 deletions

View File

@ -85,7 +85,7 @@ namespace osu.Game.Overlays.Music
beatmapBacking.BindTo(game.Beatmap);
filter.Search.OnCommit = delegate {
filter.Search.OnCommit = (sender, newText) => {
var beatmap = list.FirstVisibleSet?.Beatmaps?.ValueAtOrDefault(0);
if (beatmap != null) playSpecified(beatmap);
};

View File

@ -48,7 +48,6 @@ namespace osu.Game.Screens.Select
case Key.Up:
case Key.Down:
return false;
case Key.Enter:
if (!AllowCommit) return false;
break;