mirror of https://github.com/ppy/osu
Merge pull request #24080 from peppy/star-rating-no-rounding
Never remove significant digits from star rating displays
This commit is contained in:
commit
1f3d833b05
|
@ -188,7 +188,7 @@ private void update()
|
|||
Children = new Drawable[]
|
||||
{
|
||||
new DiffPiece(stats),
|
||||
new DiffPiece(("Star Rating", $"{beatmap.StarRating:0.##}{srExtra}"))
|
||||
new DiffPiece(("Star Rating", $"{beatmap.StarRating:0.00}{srExtra}"))
|
||||
}
|
||||
},
|
||||
new FillFlowContainer
|
||||
|
|
|
@ -185,7 +185,7 @@ private void updateDisplay()
|
|||
OnHovered = beatmap =>
|
||||
{
|
||||
showBeatmap(beatmap);
|
||||
starRating.Text = beatmap.StarRating.ToLocalisableString(@"0.##");
|
||||
starRating.Text = beatmap.StarRating.ToLocalisableString(@"0.00");
|
||||
starRatingContainer.FadeIn(100);
|
||||
},
|
||||
OnClicked = beatmap => { Beatmap.Value = beatmap; },
|
||||
|
|
Loading…
Reference in New Issue