Adjust carousel radius slightly (flyte wanted it).

This commit is contained in:
Dean Herbert 2017-01-30 16:55:47 +09:00
parent f0d30cc873
commit 2ad9377b37
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ public void SelectGroup(BeatmapGroup group, BeatmapPanel panel)
private static float offsetX(float dist, float halfHeight)
{
// The radius of the circle the carousel moves on.
const float CIRCLE_RADIUS = 4;
const float CIRCLE_RADIUS = 3;
double discriminant = Math.Max(0, CIRCLE_RADIUS * CIRCLE_RADIUS - dist * dist);
float x = (CIRCLE_RADIUS - (float)Math.Sqrt(discriminant)) * halfHeight;