mirror of https://github.com/ppy/osu
Filename does not match contained type
This commit is contained in:
parent
cd5b7dfd8d
commit
a93c26ccfd
|
@ -12,7 +12,7 @@
|
|||
|
||||
namespace osu.Game.Screens.Select
|
||||
{
|
||||
public class ClearScoresDialog : PopupDialog
|
||||
public class BeatmapClearScoresDialog : PopupDialog
|
||||
{
|
||||
private ScoreManager manager;
|
||||
|
||||
|
@ -22,7 +22,7 @@ private void load(ScoreManager beatmapManager)
|
|||
manager = beatmapManager;
|
||||
}
|
||||
|
||||
public ClearScoresDialog(BeatmapSetInfo beatmap, IEnumerable<ScoreInfo> scores, Action refresh)
|
||||
public BeatmapClearScoresDialog(BeatmapSetInfo beatmap, IEnumerable<ScoreInfo> scores, Action refresh)
|
||||
{
|
||||
BodyText = $@"{beatmap.Metadata?.Artist} - {beatmap.Metadata?.Title}";
|
||||
|
|
@ -631,7 +631,7 @@ private void clearScores(BeatmapSetInfo beatmap)
|
|||
|
||||
if (BeatmapDetails.Leaderboard.Scores == null || !BeatmapDetails.Leaderboard.Scores.Any()) return;
|
||||
|
||||
dialogOverlay?.Push(new ClearScoresDialog(beatmap, BeatmapDetails.Leaderboard.Scores, () => BeatmapDetails.Leaderboard.RefreshScores()));
|
||||
dialogOverlay?.Push(new BeatmapClearScoresDialog(beatmap, BeatmapDetails.Leaderboard.Scores, () => BeatmapDetails.Leaderboard.RefreshScores()));
|
||||
}
|
||||
|
||||
public override bool OnPressed(GlobalAction action)
|
||||
|
|
Loading…
Reference in New Issue