From f9c466eee9c94a67231dd4ead6c80415b8ddb0c2 Mon Sep 17 00:00:00 2001 From: John Neijzen Date: Wed, 7 Jun 2017 20:12:16 +0800 Subject: [PATCH] bit more readable --- osu.Game/Screens/Select/BeatmapCarousel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Screens/Select/BeatmapCarousel.cs b/osu.Game/Screens/Select/BeatmapCarousel.cs index d51978a683..c1d6d2eb9d 100644 --- a/osu.Game/Screens/Select/BeatmapCarousel.cs +++ b/osu.Game/Screens/Select/BeatmapCarousel.cs @@ -311,7 +311,7 @@ namespace osu.Game.Screens.Select foreach (BeatmapPanel panel in group.BeatmapPanels) { if (panel == selectedPanel) - selectedY = ((currentY + (panel.DrawHeight / 2)) - (DrawHeight / 2)); + selectedY = currentY + (panel.DrawHeight / 2) - (DrawHeight / 2); panel.MoveToX(-50, 500, EasingTypes.OutExpo);