mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 02:03:22 +08:00
Explicitly add beatmapinfo param to edit call
This commit is contained in:
parent
9565039192
commit
69fa8747f0
@ -66,7 +66,7 @@ namespace osu.Game.Screens.Select.FooterV2
|
|||||||
addButton(@"Clear all local scores", FontAwesome.Solid.Eraser, () => songSelect?.ClearScores(beatmapWhenOpening.BeatmapInfo), colours.Red1);
|
addButton(@"Clear all local scores", FontAwesome.Solid.Eraser, () => songSelect?.ClearScores(beatmapWhenOpening.BeatmapInfo), colours.Red1);
|
||||||
|
|
||||||
if (songSelect != null && songSelect.AllowEditing)
|
if (songSelect != null && songSelect.AllowEditing)
|
||||||
addButton(@"Edit beatmap", FontAwesome.Solid.PencilAlt, () => songSelect.Edit());
|
addButton(@"Edit beatmap", FontAwesome.Solid.PencilAlt, () => songSelect.Edit(beatmapWhenOpening.BeatmapInfo));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void LoadComplete()
|
protected override void LoadComplete()
|
||||||
|
Loading…
Reference in New Issue
Block a user