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:
parent
f8a8c7cb6b
commit
2b736c3cd6
@ -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)
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user