mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:43:05 +08:00
Remove max combo reading & remove unnecessary commas
This commit is contained in:
parent
f12be60d8d
commit
2305a53a02
@ -28,7 +28,6 @@ namespace osu.Game.Beatmaps.Drawables
|
|||||||
private OsuSpriteText circleSize;
|
private OsuSpriteText circleSize;
|
||||||
private OsuSpriteText approachRate;
|
private OsuSpriteText approachRate;
|
||||||
private OsuSpriteText bpm;
|
private OsuSpriteText bpm;
|
||||||
private OsuSpriteText maxCombo;
|
|
||||||
private OsuSpriteText length;
|
private OsuSpriteText length;
|
||||||
|
|
||||||
private FillFlowContainer difficultyFillFlowContainer;
|
private FillFlowContainer difficultyFillFlowContainer;
|
||||||
@ -64,12 +63,12 @@ namespace osu.Game.Beatmaps.Drawables
|
|||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Font = OsuFont.GetFont(size: 16, weight: FontWeight.Bold),
|
Font = OsuFont.GetFont(size: 16, weight: FontWeight.Bold)
|
||||||
},
|
},
|
||||||
starRating = new StarRatingDisplay(default, StarRatingDisplaySize.Small)
|
starRating = new StarRatingDisplay(default, StarRatingDisplaySize.Small)
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre
|
||||||
},
|
},
|
||||||
// Difficulty stats
|
// Difficulty stats
|
||||||
difficultyFillFlowContainer = new FillFlowContainer
|
difficultyFillFlowContainer = new FillFlowContainer
|
||||||
@ -86,26 +85,26 @@ namespace osu.Game.Beatmaps.Drawables
|
|||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Font = OsuFont.GetFont(size: 14),
|
Font = OsuFont.GetFont(size: 14)
|
||||||
},
|
},
|
||||||
drainRate = new OsuSpriteText
|
drainRate = new OsuSpriteText
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Font = OsuFont.GetFont(size: 14),
|
Font = OsuFont.GetFont(size: 14)
|
||||||
},
|
},
|
||||||
approachRate = new OsuSpriteText
|
approachRate = new OsuSpriteText
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Font = OsuFont.GetFont(size: 14),
|
Font = OsuFont.GetFont(size: 14)
|
||||||
},
|
},
|
||||||
overallDifficulty = new OsuSpriteText
|
overallDifficulty = new OsuSpriteText
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Font = OsuFont.GetFont(size: 14),
|
Font = OsuFont.GetFont(size: 14)
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Misc stats
|
// Misc stats
|
||||||
@ -123,19 +122,13 @@ namespace osu.Game.Beatmaps.Drawables
|
|||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Font = OsuFont.GetFont(size: 14),
|
Font = OsuFont.GetFont(size: 14)
|
||||||
},
|
},
|
||||||
bpm = new OsuSpriteText
|
bpm = new OsuSpriteText
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Font = OsuFont.GetFont(size: 14),
|
Font = OsuFont.GetFont(size: 14)
|
||||||
},
|
|
||||||
maxCombo = new OsuSpriteText
|
|
||||||
{
|
|
||||||
Anchor = Anchor.Centre,
|
|
||||||
Origin = Anchor.Centre,
|
|
||||||
Font = OsuFont.GetFont(size: 14),
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -201,7 +194,6 @@ namespace osu.Game.Beatmaps.Drawables
|
|||||||
// Misc row
|
// Misc row
|
||||||
length.Text = "Length: " + TimeSpan.FromMilliseconds(displayedContent.BeatmapInfo.Length / rate).ToString("mm\\:ss");
|
length.Text = "Length: " + TimeSpan.FromMilliseconds(displayedContent.BeatmapInfo.Length / rate).ToString("mm\\:ss");
|
||||||
bpm.Text = " BPM: " + Math.Round(bpmAdjusted, 0);
|
bpm.Text = " BPM: " + Math.Round(bpmAdjusted, 0);
|
||||||
maxCombo.Text = " Max Combo: " + displayedContent.BeatmapInfo.TotalObjectCount;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Move(Vector2 pos) => Position = pos;
|
public void Move(Vector2 pos) => Position = pos;
|
||||||
|
Loading…
Reference in New Issue
Block a user