1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

Quick rename

This commit is contained in:
Dean Herbert 2018-12-22 16:20:29 +09:00
parent e7508cbd5e
commit a35d9178f0
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ namespace osu.Game.Screens.Play
{ {
} }
protected override IEnumerable<IResultPageInfo> CreateResultTypes() => new IResultPageInfo[] protected override IEnumerable<IResultPageInfo> CreateResultPages() => new IResultPageInfo[]
{ {
new ScoreOverviewPageInfo(Score, Beatmap), new ScoreOverviewPageInfo(Score, Beatmap),
new BeatmapLeaderboardPageInfo(Score, Beatmap) new BeatmapLeaderboardPageInfo(Score, Beatmap)

View File

@ -264,7 +264,7 @@ namespace osu.Game.Screens.Ranking
}, },
}; };
foreach (var t in CreateResultTypes()) foreach (var t in CreateResultPages())
modeChangeButtons.AddItem(t); modeChangeButtons.AddItem(t);
modeChangeButtons.Current.Value = modeChangeButtons.Items.FirstOrDefault(); modeChangeButtons.Current.Value = modeChangeButtons.Items.FirstOrDefault();
@ -280,6 +280,6 @@ namespace osu.Game.Screens.Ranking
}, true); }, true);
} }
protected abstract IEnumerable<IResultPageInfo> CreateResultTypes(); protected abstract IEnumerable<IResultPageInfo> CreateResultPages();
} }
} }