mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Fix delete/clear scores buttons not working
This commit is contained in:
@ -807,14 +807,14 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
private void delete(BeatmapSetInfo beatmap)
|
private void delete(BeatmapSetInfo beatmap)
|
||||||
{
|
{
|
||||||
if (beatmap == null || !beatmap.IsManaged) return;
|
if (beatmap == null) return;
|
||||||
|
|
||||||
dialogOverlay?.Push(new BeatmapDeleteDialog(beatmap));
|
dialogOverlay?.Push(new BeatmapDeleteDialog(beatmap));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void clearScores(BeatmapInfo beatmapInfo)
|
private void clearScores(BeatmapInfo beatmapInfo)
|
||||||
{
|
{
|
||||||
if (beatmapInfo == null || !beatmapInfo.IsManaged) return;
|
if (beatmapInfo == null) return;
|
||||||
|
|
||||||
dialogOverlay?.Push(new BeatmapClearScoresDialog(beatmapInfo, () =>
|
dialogOverlay?.Push(new BeatmapClearScoresDialog(beatmapInfo, () =>
|
||||||
// schedule done here rather than inside the dialog as the dialog may fade out and never callback.
|
// schedule done here rather than inside the dialog as the dialog may fade out and never callback.
|
||||||
|
Reference in New Issue
Block a user