Fix hit distribution graph midpoint rounding not looking great around zero

Not sure this will be accepted and it's likely only ever going to show
in tests, but seems to be a better approach to midpoint rounding for
this case?
This commit is contained in:
Dean Herbert
2022-03-03 15:43:01 +09:00
parent a38eb426ef
commit a06d806fb9
2 changed files with 20 additions and 2 deletions

View File

@ -23,6 +23,12 @@ namespace osu.Game.Tests.Visual.Ranking
createTest(CreateDistributedHitEvents());
}
[Test]
public void TestManyDistributedEventsOffset()
{
createTest(CreateDistributedHitEvents(-3.5));
}
[Test]
public void TestAroundCentre()
{