1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:47:26 +08:00

Make beatmap edit button reload beatmap without mods

This commit is contained in:
Kyle Chang 2018-10-28 13:04:45 -04:00
parent f8a8c7cb6b
commit 2b736c3cd6
2 changed files with 3 additions and 1 deletions

View File

@ -68,7 +68,7 @@ namespace osu.Game.Screens.Select
BeatmapOptions.AddButton(@"Edit", @"beatmap", FontAwesome.fa_pencil, colours.Yellow, () => BeatmapOptions.AddButton(@"Edit", @"beatmap", FontAwesome.fa_pencil, colours.Yellow, () =>
{ {
ValidForResume = false; ValidForResume = false;
Push(new Editor()); EditSelected();
}, Key.Number3); }, Key.Number3);
if (dialogOverlay != null) if (dialogOverlay != null)

View File

@ -229,6 +229,8 @@ namespace osu.Game.Screens.Select
Push(new Editor()); Push(new Editor());
} }
protected void EditSelected() => Edit(beatmapNoDebounce);
/// <summary> /// <summary>
/// Call to make a selection and perform the default action for this SongSelect. /// Call to make a selection and perform the default action for this SongSelect.
/// </summary> /// </summary>