From 2ad9377b37bb400d39adba2d4702104b73551cb1 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 30 Jan 2017 16:55:47 +0900 Subject: [PATCH] Adjust carousel radius slightly (flyte wanted it). --- osu.Game/Screens/Select/CarouselContainer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Screens/Select/CarouselContainer.cs b/osu.Game/Screens/Select/CarouselContainer.cs index 258e2e03d8..f1e30693ef 100644 --- a/osu.Game/Screens/Select/CarouselContainer.cs +++ b/osu.Game/Screens/Select/CarouselContainer.cs @@ -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;