From 5003b3738ae92b2a4fa602b72adcb222f1f9273e Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 1 Feb 2017 19:15:22 -0500 Subject: [PATCH] Remove constant boolean expressions --- osu.Game/Screens/Select/CarouselContainer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Screens/Select/CarouselContainer.cs b/osu.Game/Screens/Select/CarouselContainer.cs index 101774b4fc..5cd331e44d 100644 --- a/osu.Game/Screens/Select/CarouselContainer.cs +++ b/osu.Game/Screens/Select/CarouselContainer.cs @@ -134,10 +134,10 @@ namespace osu.Game.Screens.Select panel.MoveToX(-50, 500, EasingTypes.OutExpo); //on first display we want to begin hidden under our group's header. - if (panel.Alpha == 0 && group.State != BeatmapGroupState.Hidden) + if (panel.Alpha == 0) panel.MoveToY(headerY); - movePanel(panel, group.State != BeatmapGroupState.Hidden, ref currentY); + movePanel(panel, true, ref currentY); } } else