mirror of
https://github.com/osukey/osukey.git
synced 2025-05-24 15:07:20 +09:00
Add better commenting for ambiguous parameter
This commit is contained in:
parent
9670ea9a2a
commit
d84f1f05e2
@ -92,6 +92,11 @@ namespace osu.Game.Screens.Select
|
|||||||
updateMetrics(requestedBeatmap.Metrics, false);
|
updateMetrics(requestedBeatmap.Metrics, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Update displayed metrics.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="metrics">New metrics to overwrite the existing display. Can be null.</param>
|
||||||
|
/// <param name="failOnMissing">Whether to hide the display on null or empty metrics. If false, we will dim as if waiting for further updates.</param>
|
||||||
private void updateMetrics(BeatmapMetrics metrics, bool failOnMissing = true)
|
private void updateMetrics(BeatmapMetrics metrics, bool failOnMissing = true)
|
||||||
{
|
{
|
||||||
var hasRatings = metrics?.Ratings.Any() ?? false;
|
var hasRatings = metrics?.Ratings.Any() ?? false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user