mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 09:32:55 +08:00
Quick rename
This commit is contained in:
parent
e7508cbd5e
commit
a35d9178f0
@ -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)
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user