mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 20:30:27 +08:00
@@ -22,6 +22,7 @@ using osu.Game.Input.Bindings;
|
||||
using osuTK;
|
||||
using osuTK.Graphics;
|
||||
using osu.Game.Localisation;
|
||||
using osu.Game.Utils;
|
||||
|
||||
namespace osu.Game.Screens.Play
|
||||
{
|
||||
@@ -231,6 +232,14 @@ namespace osu.Game.Screens.Play
|
||||
playInfoText.AddText(GameplayMenuOverlayStrings.SongProgress);
|
||||
playInfoText.AddText($"{progress}%", cp => cp.Font = cp.Font.With(weight: FontWeight.Bold));
|
||||
}
|
||||
|
||||
if (gameplayState != null)
|
||||
{
|
||||
playInfoText.NewLine();
|
||||
playInfoText.AddText(SongSelectStrings.Accuracy);
|
||||
playInfoText.AddText(": ");
|
||||
playInfoText.AddText(gameplayState!.ScoreProcessor.Accuracy.Value.FormatAccuracy(), cp => cp.Font = cp.Font.With(weight: FontWeight.Bold));
|
||||
}
|
||||
}
|
||||
|
||||
private int? getSongProgress()
|
||||
|
||||
Reference in New Issue
Block a user