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:
parent
81d67cbe06
commit
de8428c95b
@ -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);
|
||||
};
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user