mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 04:47:39 +09:00
Filename does not match contained type
This commit is contained in:
parent
cd5b7dfd8d
commit
a93c26ccfd
@ -12,7 +12,7 @@ using System.Linq;
|
|||||||
|
|
||||||
namespace osu.Game.Screens.Select
|
namespace osu.Game.Screens.Select
|
||||||
{
|
{
|
||||||
public class ClearScoresDialog : PopupDialog
|
public class BeatmapClearScoresDialog : PopupDialog
|
||||||
{
|
{
|
||||||
private ScoreManager manager;
|
private ScoreManager manager;
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ namespace osu.Game.Screens.Select
|
|||||||
manager = 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}";
|
BodyText = $@"{beatmap.Metadata?.Artist} - {beatmap.Metadata?.Title}";
|
||||||
|
|
@ -631,7 +631,7 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
if (BeatmapDetails.Leaderboard.Scores == null || !BeatmapDetails.Leaderboard.Scores.Any()) return;
|
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)
|
public override bool OnPressed(GlobalAction action)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user