1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-30 21:32:57 +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); beatmapBacking.BindTo(game.Beatmap);
filter.Search.OnCommit = delegate { filter.Search.OnCommit = (sender, newText) => {
var beatmap = list.FirstVisibleSet?.Beatmaps?.ValueAtOrDefault(0); var beatmap = list.FirstVisibleSet?.Beatmaps?.ValueAtOrDefault(0);
if (beatmap != null) playSpecified(beatmap); if (beatmap != null) playSpecified(beatmap);
}; };

View File

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