1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 20:30:27 +08:00

Merge pull request #35388 from Hoopsier/master

Accuracy to pause
This commit is contained in:
Dean Herbert
2025-10-22 14:31:23 +09:00
committed by GitHub
Unverified
@@ -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()