mirror of
https://github.com/ppy/osu-tools.git
synced 2025-06-07 23:07:01 +09:00
Merge pull request #267 from wulpine/catch-populate-acc
Populate accuracy-related fields for osu!catch scores
This commit is contained in:
commit
e2ab359eda
1 changed files with 15 additions and 0 deletions
|
@ -1044,6 +1044,21 @@ namespace PerformanceCalculatorGUI.Screens
|
|||
mehsTextBox.Text = mehs.ToString();
|
||||
}
|
||||
|
||||
if (ruleset.Value?.ShortName == "fruits")
|
||||
{
|
||||
if (scoreInfo.Statistics.TryGetValue(HitResult.LargeTickHit, out int largeTickHits))
|
||||
{
|
||||
goodsTextBox.Value.Value = largeTickHits;
|
||||
goodsTextBox.Text = largeTickHits.ToString();
|
||||
}
|
||||
|
||||
if (scoreInfo.Statistics.TryGetValue(HitResult.SmallTickHit, out int smallTickHits))
|
||||
{
|
||||
mehsTextBox.Value.Value = smallTickHits;
|
||||
mehsTextBox.Text = smallTickHits.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
if (scoreInfo.Statistics.TryGetValue(HitResult.LargeTickMiss, out int largeTickMisses))
|
||||
{
|
||||
largeTickMissesTextBox.Value.Value = largeTickMisses;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue